This is an automated email from the ASF dual-hosted git repository. benedict pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra-accord.git
The following commit(s) were added to refs/heads/trunk by this push: new 3846a378 ninja: fix NPE 3846a378 is described below commit 3846a378bfec8d28b312b40cd8541fad2a76e840 Author: Benedict Elliott Smith <bened...@apache.org> AuthorDate: Thu Oct 3 23:33:58 2024 +0100 ninja: fix NPE --- accord-core/src/main/java/accord/local/cfk/Pruning.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accord-core/src/main/java/accord/local/cfk/Pruning.java b/accord-core/src/main/java/accord/local/cfk/Pruning.java index 4990d329..a4f9851a 100644 --- a/accord-core/src/main/java/accord/local/cfk/Pruning.java +++ b/accord-core/src/main/java/accord/local/cfk/Pruning.java @@ -275,7 +275,7 @@ public class Pruning case APPLIED: long epoch = txn.executeAt.epoch(); - if (epoch != activePruneEpoch) + if (epoch != activePruneEpoch && epochPrunedBefores != null) { activePruneEpochBefore = epochPrunedBefores.get(epoch); activePruneEpoch = epoch; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org