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

[BUG][Remote Segment Store] On failover, new primary uploads all the segments to remote store, it should be incremental #4398

Closed
sachinpkale opened this issue Sep 3, 2022 · 0 comments
Labels
bug Something isn't working Indexing & Search

Comments

@sachinpkale
Copy link
Member

Describe the bug
When remote store is enabled for an index, on fail-over, expected behavior is, new primary will start uploading new segments (which are not already uploaded by old primary) to the remote segment store. Currently, all the segments from new primary are getting uploaded.

This happens when RemoteSegmentStoreDirectory is having stale state of uploaded segments.
Solution: Call RemoteSegmentStoreDirectory.init() on failover.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Indexing & Search
Projects
None yet
Development

No branches or pull requests

2 participants