Skip to content

[Remote Store] Release permits and reopen the refresh listeners & RemoteFsTranslog if the primary relocation fails #11323

@ashking94

Description

@ashking94

Is your feature request related to a problem? Please describe.
We acquire all permits of Refresh Listeners and close them during the primary relocation. However, it is possible that the handoff does not succeed and the old primary continues to be primary still. In such cases, we want that the segments and translog to continue getting uploaded to remote store.

Describe the solution you'd like
Release permits and allow running refreshes and translog uploads back again. The old primary should be capable to upload segments and translog if the handoff was to fail and the old primary is still the acting primary.

Describe alternatives you've considered
None

Additional context
None

Metadata

Metadata

Assignees

Labels

Storage:DurabilityIssues and PRs related to the durability frameworkStorage:Remotev2.12.0Issues and PRs related to version 2.12.0

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions