Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DAOS-17148 common: btree delete may move target out of boundary - b26
During btr_node_del_rec(), if the record to be deleted from current node is the last one, the logic will try to migrate one record from its sibling node. If current node is at the tail position in parent node, original logic may migrate an invalid record from a non-exist sibling node on the right. That may cause kinds of corruption since the content in such invalid record is undefined. Signed-off-by: Fan Yong <[email protected]>
- Loading branch information