Files
qdrant/lib/api
Tim Visée b1eb5a2a68 Improve shard snapshot transfer replica set state synchronization (#2884)
* Add `WaitForShardState` gRPC call definition

* Implement logic for `WaitForShardState` call

* In next shard snapshot transfer stage, wait for remote to reach `Partial`

* In shard snapshot transfer, synchronize consensus as last step

We don't have to synchronize consensus right away. Instead we just
confirm that the remote shard has reached `Partial` state. Then we
transform the queue proxy shard into the forward proxy.

Right before we finalize the transfer we do want to synchronize
consensus. First make sure the shard has reached `Partial` state in our
local replica set. Then synchronize all other nodes to make sure they
reach at least the same consensus state.

* Reformat internal collection service definition
2023-12-06 16:49:49 +01:00
..
2023-10-11 16:27:55 +02:00