1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-31 18:24:25 +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()));
if (sa == 0)
{
// It is possible that rapid group membership changes
// may cause streaming transaction be rolled back before
// commit fragment comes in. Although this is a valid
// situation, log a warning if a sac cannot be found as
// it may be an indication of a bug too.
wsrep::log_warning()
// It is a known limitation that galera provider
// cannot always determine if certification test
// for interrupted transaction will pass or fail
// (see comments in transaction::certify_fragment()).
// As a consequence, unnecessary rollback fragments
// 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 "
<< ws_meta.server_id()
<< ": " << ws_meta.transaction_id();