diff options
-rw-r--r-- | src/garage/admin_rpc.rs | 1 | ||||
-rw-r--r-- | src/table/crdt.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/garage/admin_rpc.rs b/src/garage/admin_rpc.rs index c2b2f22c..a23d3e95 100644 --- a/src/garage/admin_rpc.rs +++ b/src/garage/admin_rpc.rs @@ -258,6 +258,7 @@ impl AdminRpcHandler { "Bucket is deleted in update_bucket_key" ))); } + self.garage.bucket_table.insert(&bucket).await?; Ok(()) } diff --git a/src/table/crdt.rs b/src/table/crdt.rs index 7c888e3a..708d47f3 100644 --- a/src/table/crdt.rs +++ b/src/table/crdt.rs @@ -97,7 +97,7 @@ pub struct LWWMap<K, V> { impl<K, V> LWWMap<K, V> where K: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + Ord, - V: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + Ord, + V: Serialize + for<'de> Deserialize<'de> + Clone + core::fmt::Debug + PartialEq + CRDT, { pub fn new() -> Self { Self { vals: vec![] } |