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

Prefetched WAL segments are not returned until the whole batch finishes

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

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

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

2026年10月9日 から。

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, postgresql
領域
backend, databases

調査の方向性

Start from RestoreList, which waits for every parallel download before it returns the requested WAL segment, and from the wal.maxParallel setting that controls the batch. The change depends on wal.prefetch and PrefetchIntoSpool from cloudnative-pg/barman-cloud#319, and PR #1150 already targets this issue, so check that work before starting. Done means the requested segment is returned once it is in the spool or downloaded, while later downloads continue in the background.

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

説明

wal.maxParallel already downloads the requested WAL segment and the following ones together. RestoreList waits for every download before it returns the requested segment, so PostgreSQL cannot start redo on that segment while the later ones are still transferring.

On a store where each signed GET spends about 510 ms before the first byte, that wait is visible on every segment. Returning the requested segment as soon as it is in the spool or has been downloaded, and continuing the next downloads in the background, lets redo overlap the following transfers.

Depends on the wal.prefetch field and PrefetchIntoSpool added in cloudnative-pg/barman-cloud#319.

主要言語
Go
スター
198
フォーク
81
平均マージ
2日 6時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

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

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

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

似ている issue

Go の issue をもっと見る

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

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