In the current implementation the key migration unpacks packed leafs as we need to modify the KeyInfo of entries. This is unnecessary deserialization, cache & serialization overhead, rather we should modify the packed leaf in place using the binary search for keys and write the leafs out as is. Here we need to take care that parents of this leaf do receive the updated position.
In the current implementation the key migration unpacks packed leafs as we need to modify the
KeyInfoof entries. This is unnecessary deserialization, cache & serialization overhead, rather we should modify the packed leaf in place using the binary search for keys and write the leafs out as is. Here we need to take care that parents of this leaf do receive the updated position.