Detect and halt changes to Field::make_sort_key methods
General
Escalation
General
Escalation
Description
MyRocks binary format of keys on disk is based on the result data from sql/field.* Field::make_sort_key methods for different data types. Any change to the returned result of these methods will cause existing MyRocks data to become unreadable. We will need to catch any code changes that come in either from upstream merges or from our own changes that might alter this format.
If possible this should be automated in mtr or some other type of deterministic testing method.
MyRocks binary format of keys on disk is based on the result data from sql/field.* Field::make_sort_key methods for different data types. Any change to the returned result of these methods will cause existing MyRocks data to become unreadable. We will need to catch any code changes that come in either from upstream merges or from our own changes that might alter this format.
If possible this should be automated in mtr or some other type of deterministic testing method.