Skip to content

Commit 7dafce8

Browse files
committed
Remove wrong assertion from transaction::cleanup()
In case if SR transaction gets BF aborted before it is certified, the replay will happen but if the replay fails due to certification conflict, the transaction is not terminated in provider replay and will keep its streaming status. Removed the wrong assertion about streaming status from transaction::cleanup().
1 parent 9070f2a commit 7dafce8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/transaction.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,6 @@ int wsrep::transaction::replay(wsrep::unique_lock<wsrep::mutex>& lock)
20842084
void wsrep::transaction::cleanup()
20852085
{
20862086
debug_log_state("cleanup_enter");
2087-
assert(is_streaming() == false);
20882087
assert(state() == s_committed || state() == s_aborted);
20892088
id_ = wsrep::transaction_id::undefined();
20902089
ws_handle_ = wsrep::ws_handle();

0 commit comments

Comments
 (0)