Skip to content

Commit

Permalink
fix: update timestamp generation logic in handlePack function (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimFG authored Mar 5, 2025
1 parent 6651775 commit a665e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/reader/replicate_channel_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1745,8 +1745,8 @@ func (r *replicateChannelHandler) handlePack(forward bool, pack *msgstream.MsgPa
return nil
}
GetTSManager().UnsafeUpdatePackTS(tsManagerChannelKey, newPack.BeginTs, func(newTS uint64) (uint64, bool) {
generateTS = newTS
reset := resetMsgPackTimestamp(newPack, newTS)
generateTS = newPack.EndTs
return newPack.EndTs, reset
})

Expand Down

0 comments on commit a665e21

Please sign in to comment.