Skip to content

Commit

Permalink
remove the invalid log (#149)
Browse files Browse the repository at this point in the history
Signed-off-by: SimFG <[email protected]>
  • Loading branch information
SimFG authored Oct 25, 2024
1 parent 6fc5647 commit 6d51b2e
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 6d51b2e

Please sign in to comment.