[MDEV-12458] Variable and log records to indicate RocksDB version are missing Created: 2017-04-06 Updated: 2018-01-17 Resolved: 2018-01-17 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.2.5, 10.2.6 |
| Fix Version/s: | 10.2.12 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Valerii Kravchuk | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Usually we see versions for storage engines used in MariaDB 10.2 represented by separate variables:
See innodb_version and tokudb_version above. I think rocksdb_version is clearly missing. We do not have version reported in the error log also:
"Upstream" Facebook's MySQL 5.6 has at least the following for rocksdb:
|
| Comments |
| Comment by Sergei Petrunia [ 2017-12-22 ] | ||||||||||||
|
I get this for the upstream:
Apparently, my version of git doesn't recognize "%cI". | ||||||||||||
| Comment by Sergei Petrunia [ 2017-12-22 ] | ||||||||||||
|
... and the reason we haven't got it together with the rest of MyRocks is that they define it at the SQL layer in sql/mysqld.cc. | ||||||||||||
| Comment by Sergei Petrunia [ 2017-12-22 ] | ||||||||||||
|
MariaDB 10.3 also has these version status variables:
so there's code somewhere that gets a git revision in a way that's portable across everywhere MariaDB is built... | ||||||||||||
| Comment by Sergei Petrunia [ 2017-12-22 ] | ||||||||||||
|
Quoting serg
| ||||||||||||
| Comment by Varun Gupta (Inactive) [ 2017-12-29 ] | ||||||||||||
|
http://lists.askmonty.org/pipermail/commits/2017-December/011766.html | ||||||||||||
| Comment by Sergei Petrunia [ 2017-12-29 ] | ||||||||||||
|
Ok to push after adjusting the description | ||||||||||||
| Comment by Daniel Black [ 2018-01-01 ] | ||||||||||||
|
varun, 7703095d2e26a15d4ecbd3683f9779b97f851c98 fails to build with out of tree builds as the generated header file is in the build dir not the source dir.
| ||||||||||||
| Comment by Daniel Black [ 2018-01-02 ] | ||||||||||||
|
This is a sufficient fix:
| ||||||||||||
| Comment by Varun Gupta (Inactive) [ 2018-01-02 ] | ||||||||||||
|
Thanks danblack for noticing this glitch | ||||||||||||
| Comment by Sergei Petrunia [ 2018-01-12 ] | ||||||||||||
|
There is no rocksdb_deadlock_detect_depth_basic.result file. Also, that test needs a --replace command to not print the hash value. |