You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by be...@apache.org on 2024/01/23 21:24:22 UTC

(cassandra-accord) 09/13: fixup

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 <be...@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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org