This is an automated email from the ASF dual-hosted git repository.

ifesdjeen 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 c7379e12 Turn pruning back on
c7379e12 is described below

commit c7379e12bd8f8732004cb77264801fe157af1dbe
Author: Alex Petrov <[email protected]>
AuthorDate: Wed Mar 12 20:28:15 2025 +0100

    Turn pruning back on
    
    Patch by Alex Petrov; reviewed by Benedict Elliott Smith for CASSANDRA-20114
---
 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 5cb9476b..08788c05 100644
--- a/accord-core/src/main/java/accord/local/cfk/Pruning.java
+++ b/accord-core/src/main/java/accord/local/cfk/Pruning.java
@@ -299,7 +299,7 @@ public class Pruning
             return null;
         if 
(newPrunedBefore.executeAt.compareSimultaneousEpochAndHlc(cfk.prunedBefore().executeAt)
 <= 0)
             return null;
-        return null;
+        return newPrunedBefore;
     }
 
     /**


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to