Reference operator: adopt-restored does not support a physical restore
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
調査の方向性
Start with the adopt-restored command in deploy/stack_operator.py and follow how it treats a matching BReg instance claim with no Helm release as a post-claim-adopt adoption. Read deploy/OPERATIONS.md for the logical-restore path it currently documents, and the BReg security guide's bregctl instance-claim adopt requirement. The open design question (an explicit --physical-copy flag versus refusing an ambiguous matching claim) has to be settled before coding; done means adopt-restored handles the physical path and the guide describes it, including fencing the original first.
索引モデルが issue の本文から書いたものです。
説明
The reference operator's adopt-restored command (deploy/stack_operator.py) supports logical restores only, which is the path deploy/OPERATIONS.md describes. It does not yet support a physical restore: a base backup, point-in-time recovery, a storage snapshot or a promoted replica.
A physical copy keeps the cluster's system identifier and the database OID, so the BReg instance claim already names the copy. adopt-restored reads a matching claim with no Helm release as an adoption that stopped after claim-adopt, and it resumes by serving. For a physical copy, claim-adopt never ran. The BReg security guide asks for bregctl instance-claim adopt before a physically restored copy serves, because that step supersedes the import authorities the restore reopened.
To support physical restores, adopt-restored could take an explicit option such as --physical-copy that always runs claim-adopt, or refuse a matching claim unless the operator says which kind of restore it is. The guide would then describe the physical path, including fencing the original first.
Until then, restore with deploy/state_bundle.py as the guide describes.
- 主要言語
- Rust
- スター
- 2
- フォーク
- 0
- 平均マージ
- 9時間 48分
- マージ済み PR(30日)
- 151
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
registrystack/registry-stack のほかの issue
-
area:breg enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
registrystack/registry-stack#2765 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
registrystack/registry-stack#2761 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
registrystack/registry-stack#2743 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
registrystack/registry-stack#2706 ·
メンテナーはふだん 1 日以内に返信
-
macOS contributor gates: Messaging config tests fail under the symlinked macOS temporary directoryオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
registrystack/registry-stack#2704 ·
メンテナーはふだん 1 日以内に返信
registrystack/registry-stack の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
AstrBotDevs/AstrBot-desktop#197 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
stackabletech/airflow-operator#898 ·
メンテナーはふだん 1 日以内に返信
-
2 advisory ignore entries no longer match anything (`bytes`, `time` already patched in `Cargo.lock`)対応中かも @zyl71 が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100