diff options
author | Alex Auvolat <alex@adnab.me> | 2020-05-04 13:30:42 +0000 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-05-04 13:30:42 +0000 |
commit | fa13cf699646836b464d02aa29109ae9933c99fb (patch) | |
tree | 070d0140b715db9057b2c608778c24f0981b12ba /src/core/bucket_table.rs | |
parent | b46a7788d160f0cec285d77664e09760d25e2144 (diff) | |
download | garage-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/core/bucket_table.rs')
0 files changed, 0 insertions, 0 deletions