Skip to content

Commit

Permalink
Update versiondb/tsrocksdb/store.go
Browse files Browse the repository at this point in the history
Co-authored-by: mmsqe <[email protected]>
Signed-off-by: yihuang <[email protected]>
  • Loading branch information
yihuang and mmsqe authored Nov 11, 2024
1 parent ccd3257 commit 8005948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versiondb/tsrocksdb/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:]
Expand Down

0 comments on commit 8005948

Please sign in to comment.