aboutsummaryrefslogtreecommitdiff
path: root/src/model/bucket_table.rs
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-23 17:49:21 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-23 17:49:21 +0100
commit8722e27600ddc3ba869cebc388214f3fabb0ca57 (patch)
tree96a3b7841c05a8eed65c9e5b7a0e04501c84ae06 /src/model/bucket_table.rs
parentba1f8060fe88e9eef97757d33bcc0972a2e327d9 (diff)
downloadgarage-8722e27600ddc3ba869cebc388214f3fabb0ca57.tar.gz
garage-8722e27600ddc3ba869cebc388214f3fabb0ca57.zip
CRDT doc
Diffstat (limited to 'src/model/bucket_table.rs')
-rw-r--r--src/model/bucket_table.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/model/bucket_table.rs b/src/model/bucket_table.rs
index b7f24d71..11f103ff 100644
--- a/src/model/bucket_table.rs
+++ b/src/model/bucket_table.rs
@@ -8,6 +8,9 @@ use garage_util::error::Error;
use crate::key_table::PermissionSet;
+// We import the same file but in its version 0.1.0.
+// We can then access v0.1.0 data structures.
+// We use them to perform migrations.
use model010::bucket_table as prev;
#[derive(PartialEq, Clone, Debug, Serialize, Deserialize)]