Version reported by 1.12.2-1 from deb packages incorrect
Version number reported in deb/apt installed influxdb v1.12.2-1 is reported incorrectly.
Steps to reproduce: List the minimal actions needed to reproduce the behaviour.
- Install v1.11.8-2
sudo apt-get install influxdb=1.11.8-2
- Access influx shell from host
$ influxConnected to http://localhost:8086 version v1.11.8InfluxDB shell version: v1.11.8
- Upgrade influxdb to v1.12.2-1
sudo apt-get install influxdb=1.12.2-1lvl=info msg="InfluxDB starting" log_id=0zCKPfkG000 version=1.x-c9a9af2d63 branch=1.12 commit=95e86be3f4a18bf9b4a2a63b660109bc291b0775
- Access influx shell from host
$ influxConnected to http://localhost:8086 version 1.x-c9a9af2d63InfluxDB shell version: 1.x-c9a9af2d63
Expected behaviour: Version number to display accurately.
$ influx
Connected to http://localhost:8086 version v1.12.2
InfluxDB shell version: v1.12.2
Actual behaviour: Version number shows a build or commit identifier.
$ influx
Connected to http://localhost:8086 version 1.x-c9a9af2d63
InfluxDB shell version: 1.x-c9a9af2d63
Environment info:
- Ubuntu 22.04, both amd64 and arm64.
- Assume consistent across other Ubuntu LTS/Debian releases
Config: Default values
Logs:
lvl=info msg="InfluxDB starting" log_id=0zCOISd0000 version=v1.11.8 branch=unknown commit=199a607e1c7a5a687f96a636bb3bab9a61e4ae31
lvl=info msg="InfluxDB starting" log_id=0zCKPfkG000 version=1.x-c9a9af2d63 branch=1.12 commit=95e86be3f4a18bf9b4a2a63b660109bc291b0775
This does appear to be the correct version https://github.com/influxdata/influxdb/commit/95e86be3f4a18bf9b4a2a63b660109bc291b0775 per the commit on the v1.12.2 tag.
See: https://github.com/influxdata/influxdb/commit/95e86be3f4a18bf9b4a2a63b660109bc291b0775 (this is our tagged commit for v1.12.2)
So the version is correct, just the version= log was not updated correctly during CI. I'll take a look at this and see what happened.
Thanks for the report.