Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lidezhu committed Feb 28, 2025
1 parent 4b2cf89 commit f8e0967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logservice/eventstore/event_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ func (iter *eventStoreIter) Next() (*common.RawKVEntry, bool, error) {
copiedValue := make([]byte, len(value))
copy(copiedValue, value)
rawKV := &common.RawKVEntry{}
rawKV.Decode(value)
rawKV.Decode(copiedValue)
metrics.EventStoreScanBytes.Add(float64(len(value)))
isNewTxn := false
if iter.prevCommitTs == 0 || (rawKV.StartTs != iter.prevStartTs || rawKV.CRTs != iter.prevCommitTs) {
Expand Down

0 comments on commit f8e0967

Please sign in to comment.