lilai23 commented on a change in pull request #757:
URL:
https://github.com/apache/servicecomb-service-center/pull/757#discussion_r532307456
##########
File path: syncer/server/server.go
##########
@@ -85,22 +86,38 @@ type Server struct {
// Wraps the grpc server
grpc *grpc.Server
+ revisionMap map[string]record
+
eventQueue []*dump.WatchInstanceChangedEvent
+ mapLock sync.RWMutex
+
queueLock sync.RWMutex
+
Review comment:
这个sever是原本的整个syncer的server,在我本次提交代码之前已经是完整存在,不是单独写的
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]