diff options
| author | Chris Lu <chris.lu@gmail.com> | 2016-05-30 12:30:26 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2016-05-30 12:30:26 -0700 |
| commit | 6df18a918103634fd4e5e3297e9d2b1597ec5b73 (patch) | |
| tree | 7d0e918cd4a04348eb2edf67f7951835ca20011d /go/topology/data_node.go | |
| parent | 46a89a7d61a269dbf8cfb1d113d328f138ac5361 (diff) | |
| download | seaweedfs-6df18a918103634fd4e5e3297e9d2b1597ec5b73.tar.xz seaweedfs-6df18a918103634fd4e5e3297e9d2b1597ec5b73.zip | |
rwlock concurrent read map
Diffstat (limited to 'go/topology/data_node.go')
| -rw-r--r-- | go/topology/data_node.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/go/topology/data_node.go b/go/topology/data_node.go index 01419a791..3bad8c188 100644 --- a/go/topology/data_node.go +++ b/go/topology/data_node.go @@ -3,7 +3,6 @@ package topology import ( "fmt" "strconv" - "sync" "github.com/chrislusf/seaweedfs/go/glog" "github.com/chrislusf/seaweedfs/go/storage" @@ -11,7 +10,6 @@ import ( type DataNode struct { NodeImpl - sync.RWMutex volumes map[storage.VolumeId]storage.VolumeInfo Ip string Port int |
