You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On primary, while building CopyState object as part of get_checkpoint_info transport response, missing index file on local store causes FileNotFoundException. This is repro-able on main containing #4288 fix
It looks like indexShard object built from IndexService seems to be outdated (still referencing _9.cfe but latest in memory SegmentInfos fetched using getLatestSegmentInfos() in InternalEngine doesn't contains it) file but when metadata is read this file is long ago gone from shard store. From logs (prints SegmentInfos from in memory & disk store) shows that in memory copy held _9.cfe file once but later (index refresh/commit ?) removes all these files and builds new set of files. It is interesting to know why indexShard (built from indexService) is not upto date with in memory state of SegmentInfos
dreamer-89
changed the title
[Segment Replicatin] [BUG] No such file exception due to missing index file in get_checkpoint_info
[Segment Replication] [BUG] No such file exception due to missing index file in get_checkpoint_info
Aug 26, 2022
Describe the bug
On primary, while building CopyState object as part of get_checkpoint_info transport response, missing index file on local store causes
FileNotFoundException
. This is repro-able on main containing #4288 fixIt looks like indexShard object built from IndexService seems to be outdated (still referencing
_9.cfe
but latest in memory SegmentInfos fetched usinggetLatestSegmentInfos()
in InternalEngine doesn't contains it) file but when metadata is read this file is long ago gone from shard store. From logs (prints SegmentInfos from in memory & disk store) shows that in memory copy held _9.cfe file once but later (index refresh/commit ?) removes all these files and builds new set of files. It is interesting to know why indexShard (built from indexService) is not upto date with in memory state of SegmentInfosLog traces
Reproduce
Run below test in contiuation
Host/Environment (please complete the following information):
Note: This is different from #4178 where FileNotFoundException happends due to missing Segment_N file
The text was updated successfully, but these errors were encountered: