Prefetched WAL segments are not returned until the whole batch finishes
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 15/100
調査の方向性
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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudnative-pg/plugin-barman-cloud のほかの issue
-
Wrong `ObjectStore` key logged when the backup object store can't be retrieved in the instance sidecar対応中かも @SamarthSRao が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
cloudnative-pg/plugin-barman-cloud#1142 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
cloudnative-pg/plugin-barman-cloud#1117 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
data.compression rejects zstd although barman-cloud-backup supports it対応中かも @dgsardina が 8 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
cloudnative-pg/plugin-barman-cloud#1104 · リアクション 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Add RBAC aggregation labels to ObjectStore editor/viewer ClusterRoles対応中かも @stefanpeknik が 26 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
cloudnative-pg/plugin-barman-cloud#1102 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
cloudnative-pg/plugin-barman-cloud#1151 ·
メンテナーはふだん 1 日以内に返信
cloudnative-pg/plugin-barman-cloud の issue をすべて見る
似ている issue
-
darwin zsh
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
carapace-sh/carapace-bin#3846 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
golang-app/ecommerce#179 ·
メンテナーはふだん 1 日以内に返信
-
Simulator process crashes (nil pointer panic) when the dataset returns an error対応中かも @EugeneVon が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
llm-d/llm-d-inference-sim#772 ·
メンテナーはふだん 1 日以内に返信
-
refactor: decode numchildren with a lenient int type instead of a hand-written xProp.UnmarshalXMLオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
crazy-goat/xdbg#125 ·
メンテナーはふだん 1 日以内に返信
-
150 points ci complexity:medium drips-wave help wanted medium
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
sorotrail/SoroBeacon#449 ·
メンテナーはふだん 1 日以内に返信