Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.1.0, 7.1.1, 7.1.2
-
Untriaged
-
1
-
Unknown
-
KV June 2022
Description
Code review spotted that Magma-KVStore (the KV-engine code which drives magma) isn't doing an error check when scan/iterator loop ends. The assumption seems to be that the loop terminated successfully.
If there was a system error during scanning, e.g. a disk was unmounted, KV will end a DCP backfill early and report success.
This can lead to DCP consumers (e.g. the data replica) having a gap in the data, e.g. the disk backfill ends and switches to memory, yet we missed data out because of the undetected failure.