Skip to content

Commit

Permalink
remove the invalid log
Browse files Browse the repository at this point in the history
Signed-off-by: SimFG <[email protected]>
  • Loading branch information
SimFG committed Oct 24, 2024
1 parent 6fc5647 commit 1094cb6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/reader/replicate_channel_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -1182,21 +1182,13 @@ func (r *replicateChannelHandler) startReadChannel() {
if r.sourceSeekPosition != nil {
cts = r.sourceSeekPosition.GetTimestamp()
}
log.Info("start read channel in the handler before",
zap.String("channel_name", r.sourcePChannel),
zap.String("target_channel", r.targetPChannel),
)
GetTSManager().InitTSInfo(r.replicateID, r.targetPChannel, time.Duration(r.handlerOpts.TTInterval)*time.Millisecond, cts, r.handlerOpts.MessageBufferSize)
log.Info("start read channel in the handler",
zap.String("channel_name", r.sourcePChannel),
zap.String("target_channel", r.targetPChannel),
)
close(r.startReadChan)
r.collectionSourceSeekPosition(r.sourceSeekPosition)
log.Info("start read channel in the handler end",
zap.String("channel_name", r.sourcePChannel),
zap.String("target_channel", r.targetPChannel),
)
go func() {
for {
select {
Expand Down

0 comments on commit 1094cb6

Please sign in to comment.