Assertion `keys >= 0.0' failed in double Cost_model_table::key_compare_cost(double) const

Description

Error info :

GDB info

Testcase

 

 

Environment

None

Smart Checklist

Activity

Show:

George Lorch November 2, 2017 at 4:16 PM

DOC-635

George Lorch September 25, 2017 at 6:21 PM

TokuDB limits minimum block_size to 4K, I believe similar limit should be places on MyRocks

George Lorch September 25, 2017 at 6:17 PM

Confirmed as described. This seems to be another MyRocks 'sensible limits and defaults' issue where it make no sense to allow a block_size of 12 bytes. This can not be reproduced as-in with InnoDB or TokuDB as they both have minimum limits on their page/block sizes and therefore will never likely return a handler::info stats that calculates keys_per_block to <= 1 in cost_group_min_max.

This is also not reproducible on upstream Facebook MySQL because the optimizer code has been changed greatly between MySQL 5.6 and FB 5.6 and MySQL 5.6 and MySQL 5.7.

Done

Details

Assignee

Reporter

Labels

Components

Fix versions

Priority

Smart Checklist

Created September 24, 2017 at 9:39 AM
Updated December 27, 2018 at 6:29 PM
Resolved November 2, 2017 at 4:16 PM