Skip to content

Commit

Permalink
removing assertion about current thread in next_fragment
Browse files Browse the repository at this point in the history
next_fragment is called outside the scope of a high_priority_switch,
and we may be in a different thread context then the streaming applier
was created in
  • Loading branch information
pacheco authored and sciascid committed Oct 16, 2019
1 parent 3389074 commit e0118c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/wsrep/client_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ namespace wsrep
int next_fragment(const wsrep::ws_meta& meta)
{
wsrep::unique_lock<wsrep::mutex> lock(mutex_);
assert(current_thread_id_ == wsrep::this_thread::get_id());
assert(mode_ == m_high_priority);
return transaction_.next_fragment(meta);
}
Expand Down

0 comments on commit e0118c1

Please sign in to comment.