cloudnative-pg / cloudnative-pg/plugin-barman-cloud

WAL overwrites across clusters with same name

未关闭
#263 6 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Go
星标
191
派生
72
平均合并
2 天 21 小时
30 天内合并 PR
21

描述

The in-tree barman archiver prevents you from archiving wal files if the object stores already has wals in there generated by a different cluster with the same name.

The plugin instead allows doesn't have this protection and allows to overwrite the files, so there could be wal files from different sources.

贡献指南

打开贡献指南

调研方向

首先将 plugin 的归档行为与树内的 barman archiver 进行比较,然后使用来自另一个同名 cluster 的现有 WAL 重现该情况。当 plugin 拒绝覆盖来自不同源的 WAL 文件,并且有测试覆盖该保护机制时,此更改就完成了。

由索引模型根据 Issue 内容生成。

评估

技术栈
go, postgresql
领域
backend, databases
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。