influxdb/cache_system
Marco Neumann fced536ebd
refactor: improve consistent access under "remove if" (#5693)
* refactor: improve consistent access under "remove if"

With all the concurrency introduced in #5668, we should be a bit more
careful with our "remove if" handling, esp. if a removal is triggered
while a load is running concurrently. This change introduces as
`remove_if_and_get` helper that ensures this and the querier over to use
it. The parquet file and tombstone caches required a bit of a larger
change because there the invalidation and the actual GET were kinda
separate. We had this separation for the other caches as well at some
point and decided that this easily leads to API misuse, so I took this
opportunity to "fix" the parquet file and tombstone cache as well.

* docs: improve
2022-09-20 14:03:11 +00:00
..
benches refactor: avoid double-hash when updating addressable heap orders (#5577) 2022-09-08 11:50:55 +00:00
src refactor: improve consistent access under "remove if" (#5693) 2022-09-20 14:03:11 +00:00
Cargo.toml chore: slim down `criterion` (#5611) 2022-09-12 08:47:35 +00:00