Due to the update of the index records during a ldb_modify operation at the ldb_kv layer, it is possible to corrupt the index, if the caller does not dispose of the transaction after the failure.
Gary has a series of patches to address this.
Closing fixes landed in master for version 4.11.
Commits b6b5b5fe355fee2a4096e9214831cb88c7a2a4c6 to b6b5b5fe355fee2a4096e9214831cb88c7a2a4c6
Does this also apply to 4.9 and 4.10 ?