You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2026/10/26 18:02:01 UTC
(opendal-yinyang) branch xuanwo/managed-directory-sync updated: fix: encode baseline digests as byte arrays
This is an automated email from the ASF dual-hosted git repository.
Xuanwo pushed a commit to branch xuanwo/managed-directory-sync
in repository https://gitbox.apache.org/repos/asf/opendal-yinyang.git
The following commit(s) were added to refs/heads/xuanwo/managed-directory-sync by this push:
new a246b2c fix: encode baseline digests as byte arrays
a246b2c is described below
commit a246b2c267ff54933231885bbf3fb3c8f7343023
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Tue Oct 27 02:01:54 2026 +0800
fix: encode baseline digests as byte arrays
Co-authored-by: Chojan Shang <ps...@apache.org>
---
src/replica/state.rs | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/replica/state.rs b/src/replica/state.rs
index fe17415..8a3f295 100644
--- a/src/replica/state.rs
+++ b/src/replica/state.rs
@@ -401,9 +401,7 @@ impl Store {
"remote baseline length exceeds SQLite range"
))?,
present,
- local_digest
- .as_ref()
- .map(|value| value.as_bytes().as_slice()),
+ local_digest.as_ref().map(|value| value.as_slice()),
local_length,
local_mode,
local_dev,