wsrep_provider_version is set to 4.3(XXXX) in development builds

Description

The git revision isn't included in the build, looks like because the mixed use of GALERA-REVISION and GALERA_REVISION marker file in the code.

For some reason packaging scripts also use the merged upstream commit id instead of the actual commit id used in the build.

Environment

None

Smart Checklist

Activity

Show:

Kamil Holubicki August 29, 2023 at 10:55 AM

In 8.0.33 we switched to cmake.

Scons build will still expose the reported behavior, but cmake will not.

The only scenario when cmake will fall back to XXXX is when the source tree is not a git repo. In such a case there is no way to determine the current git hash and there is a fallback to XXXX (cmake/version.cmake).

Zsolt Parragi March 1, 2023 at 10:36 AM

CMake either autodetects the revision with git, or if -DGALERA_REVISION=x is specified to the cmake command, it uses that.

Done

Details

Assignee

Reporter

Labels

Needs QA

Yes

Affects versions

Priority

Smart Checklist

Created April 14, 2020 at 10:05 AM
Updated March 6, 2024 at 9:38 PM
Resolved October 19, 2023 at 4:48 AM

Flag notifications