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] [Snapshot V2] Restore of latest snapshot post index deletion can restore data only till previous snapshot #16339

Open
sachinpkale opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Storage:Snapshots

Comments

@sachinpkale
Copy link
Member

sachinpkale commented Oct 15, 2024

Describe the bug

  • This bug is applicable for Shallow snapshot V2.
  • If snapshot is created between last fetch of pinned timestamps and index deletion and last metadata file is created before the last fetch, the restore of snapshot will restore data corresponding to previous snapshot

Related component

Storage:Snapshots

To Reproduce

If we have following sequence of events, issue can be reproduced

09:58 - second last metadata file
10:00 - S1
10:30 - last metadata file
10:55 - last refresh of pinned timestamp
11:00 - S2
11:05 - Index deleted

Here, restoring S2 will restore data corresponding to snapshot S1.

Expected behavior

Snapshot should be able to restore data corresponding to its own timestamp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Storage:Snapshots
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant