Skip to content

Commit

Permalink
rm comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kocubinski committed Oct 31, 2024
1 parent 507b04b commit f37eaef
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions nodedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,6 @@ func (ndb *nodeDB) SetFastStorageVersionToBatch(latestVersion int64) error {
newVersion = fastStorageVersionValue
}

// no latest version found
// if latestVersion == -1 {
// use initial version
// latestVersion = int64(ndb.opts.InitialVersion)
// }
newVersion += fastStorageVersionDelimiter + strconv.Itoa(int(latestVersion))

if err := ndb.batch.Set(metadataKeyFormat.Key([]byte(storageVersionKey)), []byte(newVersion)); err != nil {
Expand Down

0 comments on commit f37eaef

Please sign in to comment.