Percona-XtraDB-Cluster-galera package version # should match the wsrep_provider_version

Bug #1111672 reported by Jay Janssen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Fix Released
Medium
Raghavendra D Prabhu

Bug Description

[root@node2 ~]# rpm -q Percona-XtraDB-Cluster-galera
Percona-XtraDB-Cluster-galera-2.0-1.143.rhel6.i686

node2 mysql> show global status like 'wsrep_provider_version';
+------------------------+-----------+
| Variable_name | Value |
+------------------------+-----------+
| wsrep_provider_version | 2.3(r143) |
+------------------------+-----------+
1 row in set (0.00 sec)

Why wouldn't the package version # be:

Percona-XtraDB-Cluster-galera-2.3-143.rhel6.i686 or similar?

Tags: pkg

Related branches

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Agree on this. Looks like a bug, from the spec file:

===========================================================

Name: Percona-XtraDB-Cluster-galera
Version: 2.3
Release: 1.%{revision}.%{?distribution}
Summary: Galera components of Percona XtraDB Cluster

Group: Applications/Databases
License: GPLv3
URL: http://www.percona.com/
Source0: percona-xtradb-cluster-galera.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires: scons check-devel glibc-devel %{gcc_req} openssl-devel %{boost_req} check-devel

%description
This package contains the Galera components required by Percona XtraDB Cluster.

%prep
%setup -q -n %{src_dir}

%build
%if "%rhelver" == "5"
export CXX=g++44
%endif
export GALERA_REV=%{galera_revision}
export GALERA_VER=2.0
scons revno=%{galera_revision} garb/garbd libgalera_smm.so %{scons_arch} %{scons_args}
====================================================================

It is set to 2.3 in one place and 2.0 in another.

Changed in percona-xtradb-cluster:
assignee: nobody → Ignacio Nin (ignacio-nin)
importance: Undecided → Medium
status: New → Triaged
tags: added: pkg
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Debian packaging versions also show 2.x, needs to be fixed.

http://www.percona.com/downloads/Percona-XtraDB-Cluster/LATEST/deb/squeeze/x86_64/

Changed in percona-xtradb-cluster:
milestone: none → 5.5.30-23.7.4
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

http://bazaar.launchpad.net/~raghavendra-prabhu/percona-xtradb-cluster/release-5.5.30-galera-2.x/revision/120 seems to have fixed for RPMs.

However, debian still requires fixing.

Also, in the RPM, the version needs to be bumped to 2.5.

Changed in percona-xtradb-cluster:
assignee: Ignacio Nin (ignacio-nin) → Raghavendra D Prabhu (raghavendra-prabhu)
Changed in percona-xtradb-cluster:
status: Triaged → Fix Committed
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Updated the RPM version. The debian one is done in Jenkins later.

Changed in percona-xtradb-cluster:
status: Fix Committed → Fix Released
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-1048

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.