Skip to content

Commit

Permalink
server: Skip storage version when calculating hash
Browse files Browse the repository at this point in the history
  • Loading branch information
serathius committed Jul 9, 2021
1 parent 54ee5c3 commit 9d87c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/storage/schema/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func DefaultIgnores(bucket, key []byte) bool {
// consistent index & term might be changed due to v2 internal sync, which
// is not controllable by the user.
return bytes.Compare(bucket, Meta.Name()) == 0 &&
(bytes.Compare(key, MetaTermKeyName) == 0 || bytes.Compare(key, MetaConsistentIndexKeyName) == 0)
(bytes.Compare(key, MetaTermKeyName) == 0 || bytes.Compare(key, MetaConsistentIndexKeyName) == 0 || bytes.Compare(key, MetaStorageVersionName) == 0)
}

func BackendMemberKey(id types.ID) []byte {
Expand Down

0 comments on commit 9d87c2d

Please sign in to comment.