Skip to content

Commit 11b72f5

Browse files
committed
Follow-up to CASSANDRA-21042: fix AccordResult.tryFailure/coordinationFailed.getMessage NPE
1 parent 4defbb9 commit 11b72f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java/org/apache/cassandra/service/accord/AccordResult.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ else if (isTxnRequest && fail instanceof TopologyMismatch)
171171
// It could also race with the table stopping/starting being managed by Accord.
172172
// The caller can retry if the table indeed exists and is managed by Accord.
173173
Set<TableId> txnDroppedTables = txnDroppedTables(keysOrRanges);
174-
Tracing.trace("Accord returned topology mismatch: " + coordinationFailed.getMessage());
175-
logger.debug("Accord returned topology mismatch", coordinationFailed);
174+
Tracing.trace("Accord returned topology mismatch: " + fail.getMessage());
175+
logger.debug("Accord returned topology mismatch", fail);
176176
bookkeeping.markTopologyMismatch();
177177
// Throw IRE in case the caller fails to check if the table still exists
178178
if (!txnDroppedTables.isEmpty())

0 commit comments

Comments
 (0)