aboutsummaryrefslogtreecommitdiff
path: root/src/util/error.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-05-04 13:30:42 +0000
committerAlex Auvolat <alex@adnab.me>2020-05-04 13:30:42 +0000
commitfa13cf699646836b464d02aa29109ae9933c99fb (patch)
tree070d0140b715db9057b2c608778c24f0981b12ba /src/util/error.rs
parentb46a7788d160f0cec285d77664e09760d25e2144 (diff)
downloadgarage-fa13cf699646836b464d02aa29109ae9933c99fb.tar.gz
garage-fa13cf699646836b464d02aa29109ae9933c99fb.zip
Repair: do not mark deleted when upstream object is not found
With the previous behaviour, repairing could see some data as absent and decide that the object or version was deleted, thus going on to delete the version and blocks. In the case where read_quorum + write_quorum <= replication_factor however, entries may not yet be returned by the get, thus data would have been deleted that should hot have been. The new behavior is more cautious and just skips the entry when the warning is emitted.
Diffstat (limited to 'src/util/error.rs')
0 files changed, 0 insertions, 0 deletions