[MDEV-14607] storage_engine-rocksdb.type_bit_indexes fails after latest pushes Created: 2017-12-07 Updated: 2017-12-15 Resolved: 2017-12-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.12 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Elena Stepanova |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
After recent pushes (see below) storage_engine-rocksdb.type_bit_indexes test started to fail like so:
The recent pushes are these three:
|
| Comments |
| Comment by Sergei Petrunia [ 2017-12-07 ] | ||||||||||||||||||
|
Debugged. Before the mentioned fixes, EXPLAIN does show type=index and "Using index"
however actual execution fetches the whole rows:
MyRocks doesn't have a way to decode BIT columns from secondary indexes (this is actually doable but not implemented). The reason it choses to do index-only read is the same as | ||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-12-11 ] | ||||||||||||||||||
|
After the fix, there is this failure on Windows:
The plan is changed back to the old one... | ||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-12-12 ] | ||||||||||||||||||
|
Does not fail for me when I try a Debug build of the current 10.2 tree (tip cset 86c69263a441dd6fb2de180dba846eb4fc53a5f0) | ||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-12-12 ] | ||||||||||||||||||
|
... and the same goes for a release build. | ||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-12-12 ] | ||||||||||||||||||
elenst, I've checked. MyRocks' change for type_enum_indexes and type_set_indexes is ok. It is caused by this MyRocks' property: https://mariadb.com/kb/en/library/myrocks-and-index-only-scans/ which makes it different from InnoDB/MyISAM. |