2 ms·
https://github.com/antflydb/antfly/blob/main/src/store/db/indexes/graph_index.go https://github.com/antflydb/antfly/blob/main/src/store/db/in... Comment on the
by perfmode 7mo ago
https://github.com/antflydb/antfly/blob/main/src/store/db/indexes/graph_index.go https://github.com/antflydb/antfly/blob/main/src/store/db/in...
Comment on the Pause method indicates that waits for in flight Batch operations (by obtaining the lock) but Batch doesn’t appear to hold the lock during the batch operation. Am I missing something?
- kingcauchy 7mo agoNope! Awesome you’re poking around though. I’m currently working on deterministic simulation testing and a feature set to allow pausing of index backfills but it’s not fully implemented yet, stay tuned!
- kingcauchy 7mo agohttps://github.com/antflydb/antfly/pull/8 https://github.com/antflydb/antfly/pull/8 Upon another look it looks like we were actually missing the pause lock for the backfill operation too during a shard split though, I also went ahead and added it to batch for good measure although that case should be caught by the manager! Thank you for the report!