local_cached_downto status variable underflow

Bug #1262179 reported by Raghavendra D Prabhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Galera
New
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: lowhang
tags: added: lowhang
Revision history for this message
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.

Revision history for this message
Alexey Kopytov (akopytov) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

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

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.