This is an automated email from the ASF dual-hosted git repository.
ifesdjeen pushed a commit to branch CASSANDRA-19944-persistent-fields
in repository https://gitbox.apache.org/repos/asf/cassandra-accord.git
The following commit(s) were added to
refs/heads/CASSANDRA-19944-persistent-fields by this push:
new 20b6a801 Remove assert
20b6a801 is described below
commit 20b6a801dc940a235a55c8b87c2763f1c36ea6e0
Author: Alex Petrov <[email protected]>
AuthorDate: Thu Sep 26 22:22:08 2024 +0200
Remove assert
---
accord-core/src/main/java/accord/local/CommandStores.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/accord-core/src/main/java/accord/local/CommandStores.java
b/accord-core/src/main/java/accord/local/CommandStores.java
index 34178574..5f70e794 100644
--- a/accord-core/src/main/java/accord/local/CommandStores.java
+++ b/accord-core/src/main/java/accord/local/CommandStores.java
@@ -709,7 +709,6 @@ public abstract class CommandStores
{
ShardHolder[] shards = current.shards;
CommandStore[] all = new CommandStore[shards.length];
- if (shards.length == 0) throw illegalState("Unable to get
CommandStore; non defined");
for (int i = 0; i < shards.length; i++)
all[i] = shards[i].store;
return all;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]