Commit Graph

5 Commits

Author SHA1 Message Date
Francesco Mazzoli
f109e3542b Have eggsblocks to refresh decommissioned block services
So that we can reliably ignore stale block services in GC (done in
a future commit). To enable this and future-proof this kind of
mechanism (e.g. having `eggsblocks` to mark something as D itself)
I added a new way to register the block service that lets you mask
which flags you're checking. I'll remove the old way once we've
rolled out everywhere.
2024-04-22 18:47:54 +00:00
Francesco Mazzoli
abd7131e88 Fix BlockServicesCacheDB init 2024-03-19 15:26:19 +00:00
Francesco Mazzoli
6d9da0e595 Remove all remnants of block service cache in ShardDB
The previous code was pretty nasty, it reached into the `ShardDB`
column family from another class. All those keys have been deleted
anyway in production.
2024-03-19 14:27:33 +00:00
Francesco Mazzoli
3db003a8f6 Fix bug in BlockServicesCacheDB initialization 2024-03-13 12:07:33 +00:00
Francesco Mazzoli
005121bcac Spin block service cache out of ShardDB
This started being a problem since the block service update log
entry does not fit in a UDP packet (it's like 100KB). I think this
approach makes more sense anyway. See comment for `getCache()` for
gotchas.
2024-03-13 11:29:58 +00:00