Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

avoid timestamp overflow

Chris Lu1b5ba4190cd9
diff --git a/weed/cluster/lock_manager/distributed_lock_manager.go b/weed/cluster/lock_manager/distributed_lock_manager.go
index 6676c0a67c..8d7a20dbbb 100644
--- a/weed/cluster/lock_manager/distributed_lock_manager.go
+++ b/weed/cluster/lock_manager/distributed_lock_manager.go
@@ -7,7 +7,7 @@ import (
"time"
)
-const MaxDuration = 1<<63 - 1
+const MaxDuration = time.Hour * 24 * 365 * 100
var NoLockServerError = fmt.Errorf("no lock server found")