replace Option CRDT by explicit CancelingOption and MergingOption types

This commit is contained in:
Alex Auvolat
2026-05-04 19:51:35 +02:00
parent eb37a3e11a
commit bf0a24ea69
20 changed files with 237 additions and 133 deletions
+2 -2
View File
@@ -241,7 +241,7 @@ impl WebServer {
.bucket_alias_table
.get(&EmptyKey, &bucket_name.to_string())
.await?
.and_then(|x| x.state.take())
.and_then(|x| x.state.get().into_inner())
.ok_or(Error::NotFound)?;
// Check bucket isn't deleted and has website access enabled
@@ -256,7 +256,7 @@ impl WebServer {
let website_config = bucket_params
.website_config
.get()
.as_ref()
.inner()
.ok_or(Error::NotFound)?;
// Get path