## Unreleased
### Bug Fixes
* Since 6.12, memtable lookup should report unrecognized value_type as corruption (#7121).
+* Fixed a bug in the following combination of features: indexes with user keys (`format_version >= 3`), indexes are partitioned (`index_type == kTwoLevelIndexSearch`), and some index partitions are pinned in memory (`BlockBasedTableOptions::pin_l0_filter_and_index_blocks_in_cache`). The bug could cause keys to be truncated when read from the index leading to wrong read results or other unexpected behavior.
## 6.13 (09/24/2020)
### Bug fixes
return result_.value_prepared;
}
+ Slice user_key() const {
+ assert(Valid());
+ return iter_->user_key();
+ }
+
private:
void Update() {
valid_ = iter_->Valid();
assert(Valid());
return second_level_iter_.key();
}
+ Slice user_key() const override {
+ assert(Valid());
+ return second_level_iter_.user_key();
+ }
IndexValue value() const override {
assert(Valid());
return second_level_iter_.value();