[Tarantool-patches] [PATCH v2 4/5] vclock: ignore 0th component in comparisons.
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Wed Dec 25 19:00:55 MSK 2019
Thanks for working on this!
The first 4 commits LGTM. I've force pushed a tiny
nit fix below:
diff --git a/src/box/vclock.h b/src/box/vclock.h
index 35ba6284c..5d1a50d3d 100644
--- a/src/box/vclock.h
+++ b/src/box/vclock.h
@@ -289,7 +289,6 @@ vclock_compare(const struct vclock *a, const struct vclock *b)
replica_id = bit_iterator_next(&it);
for (; replica_id < VCLOCK_MAX; replica_id = bit_iterator_next(&it)) {
-
int64_t lsn_a = vclock_get(a, replica_id);
int64_t lsn_b = vclock_get(b, replica_id);
le = le && lsn_a <= lsn_b;
More information about the Tarantool-patches
mailing list