mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 01:20:39 +00:00
It is common for some operations, like system table updates, to try and guarantee some particular ordering of operations. The way Origin does it, is by simply incrementing one to the current timestamp. Our calls, however, are being dispatched through our internal query processor, which has a builtin client_state. Our client_state has a mechanism to guarantee monotonicity, by adding 1 if needed to operations that happen subsequentially. By using a clock that is not wired up to this mechanism, we can't really guarantee that if other operations happened to get in between. If we expose this mechanism through the query_processor, we will be able to guarantee that. Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
23 KiB
23 KiB