mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-06 06:22:05 +02:00
add a comment
This commit is contained in:
1 parent
6cbfb24022
commit
e8e50ebc75
1 file changed
+3
@@ -35,6 +35,9 @@ type MasterClient struct {
|
||||
masters pb.ServerDiscovery
|
||||
grpcDialOption grpc.DialOption
|
||||
|
||||
// TODO: CRITICAL - Data race: resetVidMap() writes to vidMap while other methods read concurrently
|
||||
// This embedded *vidMap should be changed to a private field protected by sync.RWMutex
|
||||
// See: https://github.com/seaweedfs/seaweedfs/issues/[ISSUE_NUMBER]
|
||||
*vidMap
|
||||
vidMapCacheSize int
|
||||
OnPeerUpdate func(update *master_pb.ClusterNodeUpdate, startFrom time.Time)
|
||||
|
||||
Reference in new issue
Block a user