-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Segment Replication - Fix NoSuchFileException errors caused when computing metadata snapshot on primary shards. #4366
Commits on Sep 3, 2022
-
Segment Replication - Fix NoSuchFileException errors caused when comp…
…uting metadata snapshot on primary shards. This change fixes the errors that occur when computing metadata snapshots on primary shards from the latest in-memory SegmentInfos. The error occurs when a segments_N file that is referenced by the in-memory infos is deleted as part of a concurrent commit. The segments themselves are incref'd by IndexWriter.incRefDeleter but the commit file (Segments_N) is not. This change resolves this by ignoring the segments_N file when computing metadata for CopyState and only sending incref'd segment files to replicas. Signed-off-by: Marc Handalian <handalm@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a1e60d3 - Browse repository at this point
Copy the full SHA a1e60d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f424567 - Browse repository at this point
Copy the full SHA f424567View commit details
Commits on Sep 4, 2022
-
Update StoreTests.testCleanupAndPreserveLatestCommitPoint to assert a…
…dditional segments are deleted. Signed-off-by: Marc Handalian <handalm@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for f1ae2dd - Browse repository at this point
Copy the full SHA f1ae2ddView commit details -
Rename snapshot to metadataMap in CheckpointInfoResponse.
Signed-off-by: Marc Handalian <handalm@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 6e25396 - Browse repository at this point
Copy the full SHA 6e25396View commit details -
Refactor segmentReplicationDiff method to compute off two maps instea…
…d of MetadataSnapshots. Signed-off-by: Marc Handalian <handalm@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 82901e9 - Browse repository at this point
Copy the full SHA 82901e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6b9f8 - Browse repository at this point
Copy the full SHA 7f6b9f8View commit details -
Revert catchall in SegmentReplicationSourceService.
Signed-off-by: Marc Handalian <handalm@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for e7f9de5 - Browse repository at this point
Copy the full SHA e7f9de5View commit details -
Signed-off-by: Marc Handalian <handalm@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for e60f8d4 - Browse repository at this point
Copy the full SHA e60f8d4View commit details
Commits on Sep 5, 2022
-
Fix SegmentReplicationTargetTests
Signed-off-by: Marc Handalian <handalm@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a0ab4d7 - Browse repository at this point
Copy the full SHA a0ab4d7View commit details -
Signed-off-by: Marc Handalian <handalm@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for d07446e - Browse repository at this point
Copy the full SHA d07446eView commit details
Commits on Sep 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b3b9ac9 - Browse repository at this point
Copy the full SHA b3b9ac9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 780266f - Browse repository at this point
Copy the full SHA 780266fView commit details