Skip to content

Commit

Permalink
fix: prevent panic when bad checkpoint happens
Browse files Browse the repository at this point in the history
  • Loading branch information
erayarslan committed Apr 26, 2024
1 parent f0e765a commit bf11edd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions couchbase/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (s *cbMetadata) Load(

if err != nil {
doc = models.NewEmptyCheckpointDocument(bucketUUID)
err = nil
} else {
exist = true
}
Expand Down

0 comments on commit bf11edd

Please sign in to comment.