Skip to content

Commit

Permalink
Update comment for migration in mutable_tree.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
  • Loading branch information
p0mvn and ValarDragon committed Feb 11, 2022
1 parent 2060ca1 commit 9b46195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mutable_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ func (tree *MutableTree) LoadVersionForOverwriting(targetVersion int64) (int64,
return latestVersion, nil
}

// if nodeDB doesn't mark fast storage as enabled, enable it, and commit the update.
func (tree *MutableTree) enableFastStorageAndCommitIfNotEnabled() (bool, error) {
if tree.ndb.isFastStorageEnabled() {
return false, nil
Expand Down

0 comments on commit 9b46195

Please sign in to comment.