[PATCH] D155992: [clangd] Use xxh3_64bits for background index file digests

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 24 01:51:57 PDT 2023


kadircet added a comment.

thanks for doing this!

as Sam pointed out this will result in invalidation of all the index shards, but that's not something new. we already don't clean up non-relevant index shards when people delete sources over time and rely on people having new checkouts or clearing things up manually. this will be somewhat more severe, as we'll double the index size all of a sudden.

but i'd like to keep this patch from landing until llvm-17 is cut (which should be tomorrow). we didn't have any changes to our index shard serialization since llvm-16 release, so forcing everyone to face this invalidation purely for the sake of a clean up that might never happen in the codebase doesn't feel enough of a justification. whereas it's more likely that we'll have changes to serialization format throughout the next release cycle and can hit users only once with big cache invalidations.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155992/new/

https://reviews.llvm.org/D155992



More information about the cfe-commits mailing list