Reference operator: adopt-restored does not support a physical restore
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 30/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Rust
- Estrelas
- 2
- Forks
- 0
- Merge médio
- 9h 48min
- PRs com merge (30d)
- 151
Preparar o ambiente
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de registrystack/registry-stack
-
area:breg enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
registrystack/registry-stack#2765 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
registrystack/registry-stack#2761 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
registrystack/registry-stack#2743 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
registrystack/registry-stack#2706 ·
Mantenedores costumam responder em até 1 dia
-
macOS contributor gates: Messaging config tests fail under the symlinked macOS temporary directoryAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
registrystack/registry-stack#2704 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de registrystack/registry-stack
Issues semelhantes
-
help wanted needs investigation priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
-
[Bug] 建议把黑白主题设置同步到启动页面Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
AstrBotDevs/AstrBot-desktop#197 ·
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
tomast1337/Puppeter-PptxGenJS#440 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
n0-computer/iroh#4709 ·
Mantenedores costumam responder em até 1 dia
-
生词本里,已标记为认识的词,按钮写「不认识了」读着别扭Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
qingjian-team/qingjian#1114 ·
Mantenedores costumam responder em até 2 dias