[MDEV-11194] MariaRocks: rocksdb.rocksdb_range test failure Created: 2016-10-31 Updated: 2017-10-26 Resolved: 2017-10-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.2.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | rocksdb | ||
| Issue Links: |
|
||||||||
| Description |
|
rocksdb.rocksdb_range test fails. there are also other similar test failures.
The reason it fails is that MyRocks (or MariaRocks) does not return the
flag. See https://github.com/facebook/mysql-5.6/issues/376 for details. This doesn't prevent Index Condition Pushdown in MySQL, but it does prevent it in MariaDB. |
| Comments |
| Comment by Sergei Petrunia [ 2016-12-02 ] | |||||||||||||||||||||||||||
|
Committed the facebook/mysql-5.6 approach as this patch: https://github.com/MariaDB/server/commit/59d76665eed69974da81cdccba2df9f26b4e0967 | |||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2016-12-02 ] | |||||||||||||||||||||||||||
|
... the patch makes this result difference go away:
but the second EXPLAIN difference, for
is still there. Note: the patch also fixes this failure in rocksdb.rocksdb_part
| |||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2016-12-02 ] | |||||||||||||||||||||||||||
|
The second result difference is caused by Index Condition Pushdown not working for "ORDER BY ... DESC" . MySQL has a fix for it (with set_end_range call), MariaDB doesn't. | |||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2016-12-02 ] | |||||||||||||||||||||||||||
|
The set_end_range call itself was ported into MariaDB : https://github.com/MariaDB/server/commit/94d722b6a43b86ee760f07915921cf58f9869a5d however, some code with set_end_range was not ported:
| |||||||||||||||||||||||||||
| Comment by Daniel Black [ 2017-05-05 ] | |||||||||||||||||||||||||||
|
tests seem fine as of 96247be1a0dfa3035580b53b1c27a7247a410713. Can this be closed? | |||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-10-26 ] | |||||||||||||||||||||||||||
|
Yes, they seems to be ok now, as well. Closing. |