aboutsummaryrefslogtreecommitdiff
path: root/src/model/s3/version_table.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-04 19:44:01 +0200
committerAlex Auvolat <alex@adnab.me>2023-06-09 16:23:37 +0200
commit412ab77b0815f165539fe41713c0155a9878672f (patch)
treee792e8c56b1702701ab443b5466c2fd7f2db97b0 /src/model/s3/version_table.rs
parent511e07ecd489fa72040171fe908323873a57ac19 (diff)
downloadgarage-412ab77b0815f165539fe41713c0155a9878672f.tar.gz
garage-412ab77b0815f165539fe41713c0155a9878672f.zip
comments and clippy lint fixes
Diffstat (limited to 'src/model/s3/version_table.rs')
-rw-r--r--src/model/s3/version_table.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/model/s3/version_table.rs b/src/model/s3/version_table.rs
index dcf4110a..5c032f9f 100644
--- a/src/model/s3/version_table.rs
+++ b/src/model/s3/version_table.rs
@@ -134,8 +134,9 @@ pub(crate) mod v09 {
/// list of blocks of data composing the version
pub blocks: crdt::Map<VersionBlockKey, VersionBlock>,
- // Back link to bucket+key so that we can figure if
- // this was deleted later on
+ // Back link to owner of this version (either an object or a multipart
+ // upload), used to find whether it has been deleted and this version
+ // should in turn be deleted (see versions repair procedure)
pub backlink: VersionBacklink,
}