From 80059485a0784b357ccb104e0cfbc206ced2c3aa Mon Sep 17 00:00:00 2001 From: yihuang Date: Mon, 11 Nov 2024 17:39:55 +0800 Subject: [PATCH] Update versiondb/tsrocksdb/store.go Co-authored-by: mmsqe Signed-off-by: yihuang --- versiondb/tsrocksdb/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versiondb/tsrocksdb/store.go b/versiondb/tsrocksdb/store.go index d00b3f86c6..44c8dc18b7 100644 --- a/versiondb/tsrocksdb/store.go +++ b/versiondb/tsrocksdb/store.go @@ -261,7 +261,7 @@ func (s Store) fixDataStore(storeName string) error { for ; iter.Valid(); iter.Next() { key := iter.Key() if len(key) < TimestampSize { - return fmt.Errorf("invalid key length: %X", key) + return fmt.Errorf("invalid key length: %X, store: %s", key, storeName) } ts := key[len(key)-TimestampSize:]