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

commit 86e533fe103f7ee821394d1eeaee38dfd408bd06
Author: Benedict Elliott Smith <bened...@apache.org>
AuthorDate: Fri Jan 19 18:48:40 2024 +0000

    fixup
---
 accord-core/src/test/java/accord/impl/list/ListStore.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/accord-core/src/test/java/accord/impl/list/ListStore.java 
b/accord-core/src/test/java/accord/impl/list/ListStore.java
index 6750429..56a3a8b 100644
--- a/accord-core/src/test/java/accord/impl/list/ListStore.java
+++ b/accord-core/src/test/java/accord/impl/list/ListStore.java
@@ -485,7 +485,8 @@ public class ListStore implements DataStore
             return coordinate.recover(t -> {
                 // TODO (effecicency): backoff
                 if (t instanceof Timeout ||
-                    t instanceof RuntimeException && 
"NotCommitted".equals(t.getMessage()) ||
+                    // TODO (expected): why are we not simply handling 
Insufficient properly?
+                    t instanceof RuntimeException && 
"Insufficient".equals(t.getMessage()) ||
                     t instanceof SimulatedFault)
                     return coordinate(node, minEpoch, sp);
                 return null;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to