Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
engine: fix prefix extractor panic when delete range #4503
What have you changed? (mandatory)
Delete range as a kv pair is passed to prefix extractor which causes panic, because the key is less than 8 bytes.
This is a temporary workaround, the long term plan is skipping the prefix extractor for delete range in RocksDB side.
What are the type of the changes? (mandatory)
How has this PR been tested? (mandatory)
Does this PR affect documentation (docs) update? (mandatory)
Does this PR affect tidb-ansible update? (mandatory)
Refer to a related PR or issue link (optional)