Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For test #530

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions downstreamadapter/dispatchermanager/event_dispatcher_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@ func (e *EventDispatcherManager) newDispatchers(infos []dispatcherCreateInfo) er
return errors.Trace(err)
}

log.Info("hyy batch create new dispatchers after check startTs",
zap.Int("count", len(dispatcherIds)),
zap.Duration("duration", time.Since(start)))

for idx, id := range dispatcherIds {
if newStartTsList[idx] == -1 {
e.statusesChan <- &heartbeatpb.TableSpanStatus{
Expand Down Expand Up @@ -345,6 +349,10 @@ func (e *EventDispatcherManager) newDispatchers(infos []dispatcherCreateInfo) er
pdTsList[idx],
e.errCh)

log.Info("hyy batch create new dispatchers after create dispatcher",
zap.Int("count", len(dispatcherIds)),
zap.Duration("duration", time.Since(start)))

if e.heartBeatTask == nil {
e.heartBeatTask = newHeartBeatTask(e)
}
Expand All @@ -363,6 +371,10 @@ func (e *EventDispatcherManager) newDispatchers(infos []dispatcherCreateInfo) er
ComponentStatus: heartbeatpb.ComponentState_Working,
}

log.Info("hyy batch create new dispatchers after dispatcherMap set",
zap.Int("count", len(dispatcherIds)),
zap.Duration("duration", time.Since(start)))

e.tableEventDispatcherCount.Inc()

log.Info("new dispatcher created",
Expand Down
Loading