mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-04 00:51:06 -05:00
* Add unique token to clock tags * Consider last token in clock map * Mark potential problem with TODO, we might want to keep clock token * Represent UUID in gRPC as bytes, keep token when converting gRPC to REST * Do not panic on invalid UUID, propagate parse error * Use helper function for clock tag conversion with error handling * Fix accept/reject logic for clocks, accept higher/equal, update token * Add test for accepting exactly the same last operation multiple times * Update advance method description to elaborate on what is accepted * Keep unique clock tag token in recovery point * Fix WAL delta tests, don't expect rejection from forward proxy anymore * Extend missing clocks in recovery point in a more efficient way * Fix clock tick comparison logic in recovery point * Apply suggestions from code review Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com> * use u64 as token * Remove failable clock tag conversions, use direct conversion --------- Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com> Co-authored-by: generall <andrey@vasnetsov.com>