From 67bf6d425dc47519454c706fa53b6826bb4f7003 Mon Sep 17 00:00:00 2001 From: yzang2019 Date: Fri, 10 May 2024 21:04:57 +0800 Subject: [PATCH] Add logs for memiavl --- sc/store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sc/store.go b/sc/store.go index f4ad022..d0b3d01 100644 --- a/sc/store.go +++ b/sc/store.go @@ -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