Skip to content

Commit b5e590e

Browse files
committed
debug
1 parent 1bca4c5 commit b5e590e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ build:prepare
33

44
run:stop build
55
cd build; ./guery master --address 127.0.0.1:1111 --config ./config.json >> m.log &
6-
cd build; ./guery agent --master 127.0.0.1:1111 --config ./config.json >> e.log &
6+
cd build; ./guery agent --master 127.0.0.1:1111 --config ./config.json >> a1.log &
7+
cd build; ./guery agent --master 127.0.0.1:1111 --config ./config.json >> a2.log &
78

89

910
stop:

Diff for: topology/topology.go

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"container/heap"
55
"context"
66
"fmt"
7+
"log"
78
"sync"
89
"time"
910

@@ -156,6 +157,7 @@ func (self *Topology) GetExecutors(number int) ([]pb.Location, []pb.Location) {
156157
for _, v := range agentMap {
157158
agents = append(agents, v)
158159
}
160+
log.Println("====", agents, executors)
159161
return agents, executors
160162
}
161163

0 commit comments

Comments
 (0)