Skip to content

Commit

Permalink
STAR-1231 Add BATCHLOG_REPLAY to ColumnFamilyStore.FlushReason (apach…
Browse files Browse the repository at this point in the history
…e#398)

Needed for CNDB

(cherry picked from commit 4e81f0d)
(cherry picked from commit 9a765b1)
(cherry picked from commit f8d2854)
(cherry picked from commit 7a18aba)
  • Loading branch information
k-rus authored and djatnieks committed Sep 12, 2023
1 parent 52f26ee commit 4563934
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/java/org/apache/cassandra/db/ColumnFamilyStore.java
Expand Up @@ -231,7 +231,8 @@ public enum FlushReason
SCHEMA_CHANGE,
UNIT_TESTS, // explicitly requested flush needed for a test
/** Flush performed to a remote storage. Used by remote commit log replay */
REMOTE_REPLAY
REMOTE_REPLAY,
BATCHLOG_REPLAY
}

private static final String[] COUNTER_NAMES = new String[]{"table", "count", "error", "value"};
Expand Down

0 comments on commit 4563934

Please sign in to comment.