Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore segments.gen on metadata snapshots #7379
we saw test failing with:
which can happen if commits happen concurrently since this file gets corrupted on purpose during a commit
My concern is that this is just a workaround, if metadata code isn't properly reading the latest commit, then this is just going to push the problem down to segments_N logic.
How is this code looking for the latest commit? Maybe it should use SegmentInfos.read/FindSegmentsFile instead?