1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-08-05 04:01:12 +03:00

Turn "Could not find applier context" into debug message

Remove warning "Could not find applier context" when no applier
context is found while applying rollback fragment.
This commit is contained in:
Daniele Sciascia
2019-01-15 10:57:39 +01:00
parent 1402cb3701
commit 1e9325197a

View File

@@ -160,12 +160,15 @@ static int apply_write_set(wsrep::server_state& server_state,
ws_meta.server_id(), ws_meta.transaction_id())); ws_meta.server_id(), ws_meta.transaction_id()));
if (sa == 0) if (sa == 0)
{ {
// It is possible that rapid group membership changes // It is a known limitation that galera provider
// may cause streaming transaction be rolled back before // cannot always determine if certification test
// commit fragment comes in. Although this is a valid // for interrupted transaction will pass or fail
// situation, log a warning if a sac cannot be found as // (see comments in transaction::certify_fragment()).
// it may be an indication of a bug too. // As a consequence, unnecessary rollback fragments
wsrep::log_warning() // may be delivered here. The message below has
// been intentionally turned into a debug message,
// rather than warning.
wsrep::log_debug()
<< "Could not find applier context for " << "Could not find applier context for "
<< ws_meta.server_id() << ws_meta.server_id()
<< ": " << ws_meta.transaction_id(); << ": " << ws_meta.transaction_id();