Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

WAL restore starts a new process for every segment

オープン
#318 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@Kobayashi-UwU がすでに取り組んでいます。

2026年10月9日 から。

  • #319 @Kobayashi-UwU による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
18/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cloud

調査の方向性

This is a design proposal, so settle the approach before writing code. Start with how barman-cloud-wal-restore launches per segment and how wal.maxParallel batches downloads, since those set the scope of the opt-in wal.persistentConnection client and the new wal.prefetch field. Done means maintainers agree on the allowed compression and encryption combinations and the prefetch semantics, not that a patch exists.

索引モデルが issue の本文から書いたものです。

説明

WAL restore through barman-cloud-wal-restore starts a new process for every segment. On an S3-compatible store, one gzip-compressed 16 MiB segment took about 1.53 s end to end, about 10.5 MB/s. A long-lived S3 client in the same process, still signing every request, took about 0.67 s for the same segment, about 24 MB/s.

The client would be opt-in (wal.persistentConnection) and limited to S3 with gzip or no compression. Encryption and restoreAdditionalCommandArgs would stay on barman-cloud-wal-restore. History files would stay on barman-cloud-wal-restore.

A second, related limitation is that wal.maxParallel downloads the requested segment and the following ones together, then waits for the whole batch before returning the requested segment. A separate field, wal.prefetch, is needed so the library can place a later segment into the spool without holding the requested one. The plugin would use that field in a follow-up change.

主要言語
Go
スター
11
フォーク
30
平均マージ
3日 13時間
マージ済み PR(30日)
16

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudnative-pg/barman-cloud のほかの issue

cloudnative-pg/barman-cloud の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。