Skip to content

[Feature]: Issue a CHECKPOINT before shutting down #8865

@gbartolini

Description

@gbartolini

Is there an existing issue already for this feature request/idea?

  • I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?

Currently, before shutting down, we do not issue a checkpoint and leave it to the standard procedure of PostgreSQL.

Describe the solution you'd like

Issuing a CHECKPOINT will ensure that those with a high checkpoint_timeout can reduce the time of shutdown and subsequent promotion of a replica.

Describe alternatives you've considered

N/A

Additional context

Proposed by @zjworacle in #8846

Backport?

Yes

Are you willing to actively contribute to this feature?

Yes

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions