FTWRL misbehaves
Bug #1170821 reported by
Raghavendra D Prabhu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Galera |
Fix Released
|
High
|
Alex Yurchenko | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
High
|
Raghavendra D Prabhu |
Bug Description
As per https:/
Changed in galera: | |
assignee: | nobody → Alex Yurchenko (ayurchen) |
importance: | Undecided → Medium |
milestone: | none → 23.2.6 |
status: | New → Confirmed |
Changed in percona-xtradb-cluster: | |
importance: | Undecided → High |
Changed in galera: | |
status: | Confirmed → In Progress |
Changed in percona-xtradb-cluster: | |
status: | Triaged → Fix Released |
Changed in galera: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This looks like an issue with galera:
======= ======= ======= ======= ======= ======= ======= ====== pause(wsrep) ; locked_ seqno= ret; ERROR(" Failed to pause provider: %lld (%s)", -ret, strerror(-ret));
#ifdef WITH_WSREP
long long ret = wsrep->
if (ret >= 0)
{
wsrep_
}
else if (ret != -ENOSYS) /* -ENOSYS - no provider */
{
WSREP_
/* m_mdl_blocks_ commits_ lock is always NULL here */ locked_ seqno= WSREP_SEQNO_ UNDEFINED; error(ER_ LOCK_DEADLOCK, MYF(0)); RETURN( TRUE);
wsrep_
my_
DBUG_
}
#endif /* WITH_WSREP */
======= ======= ======= ======= ======= ======= ======= ======= =====
So with second FTWRL it tries to pause galera again
================= :ReplicatorSMM: :pause( ) trace(local_ monitor_ .lock() );
wsrep_seqno_t galera:
{
gu_
wsrep_seqno_t const ret(cert_ .position( ));
apply_ monitor_ .drain( ret); monitor_ .last_left( ) >= ret);
assert (apply_
if (co_mode_ != CommitOrder: :BYPASS)
commit_ monitor_ .drain( ret); monitor_ .last_left( ) >= ret);
{
assert (commit_
}
st_ .set(state_ uuid_, ret);
log_info << "Provider paused at " << state_uuid_ << ':' << ret;
return ret; ======= ======= ======= ======= ======= =
}
=======
So, this looks like the second pause fails or returns zero.
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====
To conclude, this needs to be handled specially otherwise not just xtrabackup but other applications which rely on FTWRL will also break.