Skip to content

[Feature]: continue wal archiving from new primary to s3 #8846

@zjworacle

Description

@zjworacle

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?

In cnpg 1.26.1, when replica has caught up, the wal archival to s3 hasn't, the cnpg will take very long time to switchover because cnpg tried to wait wal archival caught up till swithover-timeout, this put the cnpg cluster in switchover statue very long.

Describe the solution you'd like

An workaround would be switchover fast (as long as replica caught up)and use replica's wals to finish the archival.

Describe alternatives you've considered

Current cnpg's implementation is wait till s3 catchup.

Additional context

the database backup to s3 from standby.

Backport?

No

Are you willing to actively contribute to this feature?

No

Code of Conduct

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions