Skip to content

Commit

Permalink
Add logs for memiavl
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed May 10, 2024
1 parent 8f697e4 commit 67bf6d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sc/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func (cs *CommitStore) Rollback(targetVersion int64) error {

// copyExisting is for creating new memiavl object given existing folder
func (cs *CommitStore) LoadVersion(targetVersion int64, copyExisting bool) (types.Committer, error) {
cs.logger.Info("Loading target memIAVL version %d, copyExisting %v\n", targetVersion, copyExisting)
if copyExisting {
opts := cs.opts
opts.ReadOnly = copyExisting
Expand Down

0 comments on commit 67bf6d4

Please sign in to comment.