Open CanfengChen92 opened 4 years ago
@CanfengChen92 Have you changed the default wal size (16MiB) when compiling postgres or when creating a db (is the db restored with pitr?)? If so we currently only support the default wal size:
Feel free to submit a PR to improve this.
@CanfengChen92 Have you changed the default wal size (16MiB) when compiling postgres or when creating a db (is the db restored with pitr?)? If so we currently only support the default wal size:
Feel free to submit a PR to improve this.
We didn't change the default the WAL size setting during the compiling or creating. The DB was created with an empty data directory. By the way, can we specify the WAL size during the creating? And what's the configuration item? I have tried to specify the "max_wal_size" and "min_wal_size" in "pgParameters", but it doesn't work.
@CanfengChen92 are you using the provided example stolon images?
@CanfengChen92 are you using the provided example stolon images?
No, we get the stolon v0.12.0 source code and build it by ourselves. Didn't change any configuration.
No, we get the stolon v0.12.0 source code and build it by ourselves. Didn't change any configuration.
Then you probably installed a postgres compiled with a non default wal size. You should check how you installed postgres.
No, we get the stolon v0.12.0 source code and build it by ourselves. Didn't change any configuration.
Then you probably installed a postgres compiled with a non default wal size. You should check how you installed postgres.
Ok. I will check the build process. Thanks.
What happened: a lot of warnings related to WAL file size in Stolon keeper logs. (Both master and standby) These warnings are spawning every few seconds.
What you expected to happen: No those warning logs appear
How to reproduce it (as minimally and precisely as possible): When deploying a new Stolon cluster with the default configuration.
Anything else we need to know?: Checked from the Stolon Keeper's data directory and found that some files(maybe WAL files) auto-generated when a new Stolon cluster deployed. Those files size match that the warnings log mentioned.
Environment: OKD 3.9