diff --git a/src/java/voldemort/versioning/VectorClock.java b/src/java/voldemort/versioning/VectorClock.java index de38a009ea..50ab8699ab 100644 --- a/src/java/voldemort/versioning/VectorClock.java +++ b/src/java/voldemort/versioning/VectorClock.java @@ -325,7 +325,11 @@ else if(ver2.getVersion() > ver1.getVersion()) else if(p2 < v2.versions.size()) v2Bigger = true; - /* This is the case where they are equal, return BEFORE arbitrarily */ + /* + * This is the case where they are equal. Consciously return BEFORE, so + * that the we would throw back an ObsoleteVersionException for online + * writes with the same clock. + */ if(!v1Bigger && !v2Bigger) return Occurred.BEFORE; /* This is the case where v1 is a successor clock to v2 */