Assertion `keys >= 0.0' failed in double Cost_model_table::key_compare_cost(double) const
General
Escalation
General
Escalation
Description
Environment
None
Smart Checklist
Activity
Show:
George Lorch November 2, 2017 at 4:16 PM
DOC-635
George Lorch November 1, 2017 at 10:38 PM
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
George LorchGeorge Lorch(Deactivated)Reporter
Ramesh SivaramanRamesh Sivaraman(Deactivated)Labels
Components
Fix versions
Priority
Medium
Details
Details
Assignee
George Lorch
George Lorch(Deactivated)Reporter
Ramesh Sivaraman
Ramesh Sivaraman(Deactivated)Labels
Components
Fix versions
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist
Open Smart Checklist
Smart Checklist

Open 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
Error info :
GDB info
Testcase