Skip to content

Commit

Permalink
Adopt tests for C*2 (#9426)
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy authored Aug 28, 2024
1 parent c4e6c6a commit 1c326b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ public void conditionalUpdate() throws Exception {
}

private void cassandraDeleteTombstoneSleep(long t) throws InterruptedException {
if ("Cassandra".equals(persist.name())) {
if (persist.name().startsWith("Cassandra")) {
// MUST sleep here, otherwise the tombstone's timestamp might be equal to the INSERT's
// timestamp of the storeObj() below, which would wrongly shadow the write's timestamp.
long sleepMillis = t + 2 - System.currentTimeMillis();
Expand Down

0 comments on commit 1c326b5

Please sign in to comment.