From bf11eddb36189955456efc5eab9acae92c792337 Mon Sep 17 00:00:00 2001 From: Eray Arslan Date: Fri, 26 Apr 2024 17:01:17 +0300 Subject: [PATCH] fix: prevent panic when bad checkpoint happens --- couchbase/metadata.go | 1 + 1 file changed, 1 insertion(+) diff --git a/couchbase/metadata.go b/couchbase/metadata.go index 88e60af..ec0dcdb 100644 --- a/couchbase/metadata.go +++ b/couchbase/metadata.go @@ -90,6 +90,7 @@ func (s *cbMetadata) Load( if err != nil { doc = models.NewEmptyCheckpointDocument(bucketUUID) + err = nil } else { exist = true }