I have tried to run the cleanup process manually, it still leaves huge discrepancies in the size.
For example i have a cluster that reports 2Tb size, while the repository backup for it still shows ~10 Tb in size. I can't think of any other possible reasons why this occurs.
After i've read the smile files, i'd check for any unreferenced index files, and delete them (or mark it as extra).
I couldn't read the files through jackson, finally went through the enitre codebase and used the deserialize method in ChecksumBlobStoreFormat class.
But i couldn't figure out what the namedXContentRegistry parameter is for, and just copied it from a code segment. could you please help me in understanding what this parameter is exactly?
this is the current namedXContentRegistry i am using
private static final NamedXContentRegistry xContentRegistry = new NamedXContentRegistry(Stream.of(
Will this work for all the metadata and snap files used in the snapshots?