local_cached_downto status variable underflow

Bug #1262179 reported by Raghavendra D Prabhu on 2013-12-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Galera
Undecided
Unassigned
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Invalid
Undecided
Unassigned
5.6
Fix Released
Undecided
Alexey Kopytov

Bug Description

wsrep_local_cached_downto added in https://bugs.launchpad.net/galera/+bug/1252460 underflows when the node on which it is queried has no writesets in gcache. This is because seqno_min returns -1 in that case.

MySQL [(none)]> show global status like '%local_cached_downto%';
+---------------------------+----------------------+
| Variable_name | Value |
+---------------------------+----------------------+
| wsrep_local_cached_downto | 18446744073709551615 |
+---------------------------+----------------------+
1 row in set (0.00 sec)

It should show 0 in this case. (or -1 if possible)

tags: added: lowhang
Alex Yurchenko (ayurchen) wrote :

More precisely, it should show actual lowest seqno that may be present in its gcache. So for galera <= 3.x it is configuration seqno + 1, for galera 4.x - there always will be something in gcache.

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-337

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-315

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers