Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When we use stolon container deployment, we set the parameter wal_keep_segments in the standby cluster: 48 does not take effect #922

Open
taoasan opened this issue Jul 26, 2024 · 0 comments
Labels

Comments

@taoasan
Copy link

taoasan commented Jul 26, 2024

When we use stolon container deployment, we set the parameter wal_keep_segments in the standby cluster: 48 does not take effect

The configuration information is as follows
echo yes|stolonctl --cluster-name=kube-stolon --store-backend=etcd --store-endpoints=<ETCD_STORE_ENDPOINTS> <CA_VERIFY> init '
{
"role": "standby",
"initMode": "pitr",
"pitrConfig": {
"dataRestoreCommand": "PGPASSWORD=replpassword pg_basebackup -D "%d" -h <master_sa_north_ip> -p 5400 -U repluser -F p -P -X fetch -R"
},
"standbyConfig": {
"standbySettings": {
"primaryConnInfo": "host=<master_sa_north_ip> port=5400 user=repluser password=replpassword",
"standbyMode": "on",
"recoveryTargetTimeline": "latest"
},
"pgParameters" : {"wal_keep_segments": "48"}
}
}'

We set the pgParameters parameter in standbyConfig and want to increase the number of wal logs in the standby cluster, because the default number is only 8, which is too few, and needs to be increased to 48.after the standby cluster is executed. , wal_keep_segments is still 8

@taoasan taoasan added the bug label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant