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

WAL arhives uploaded always, ignoring isWALArchiver setting

未关闭
#606 6 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Go
星标
192
派生
75
平均合并
1 天 16 小时
30 天内合并 PR
18

描述

If user will omit or configure `isWALArchiver=false` inside cluster CR - barman-cloud plugin will still upload WAL to S3.

Steps done:
Tried omitting `isWALArchiver`:
```
plugins:
- name: barman-cloud.cloudnative-pg.io
enabled: true
parameters:
barmanObjectName: cnpg-cluster-01-backup
```
and setting it to `false`:

```
plugins:
- name: barman-cloud.cloudnative-pg.io
enabled: true
isWALArchiver: false
parameters:
barmanObjectName: cnpg-cluster-01-backup
```
Expected result: no `wal` folder would be created
Actual result: cnpg-cluster-01-backup S3 object get `wal` folder and files inside after cluster creation

贡献指南

打开贡献指南

调研方向

首先,追踪 barman-cloud plugin 在 cluster CR 的 isWALArchiver 设置被省略或为 false 时如何处理该设置。使用所示配置复现报告中的 cluster 创建,并检查 S3 对象中是否出现 wal 文件夹和文件。完成的标准是:两种情况下 WAL 上传都被禁用,并且在以其他方式配置时仍保持启用。

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

评估

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

把新 issue 发到你的邮箱

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