aboutsummaryrefslogtreecommitdiff
path: root/go/topology/topology.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2014-02-09 23:37:29 -0800
committerChris Lu <chris.lu@gmail.com>2014-02-09 23:37:29 -0800
commitef4c2c0d1e5bb45a63cde703013871daa401d1ef (patch)
tree5217143c909c32031278d9713bf06c82ee4b6fd1 /go/topology/topology.go
parent67125688edc99067cb711048771de1338136e611 (diff)
downloadseaweedfs-ef4c2c0d1e5bb45a63cde703013871daa401d1ef.tar.xz
seaweedfs-ef4c2c0d1e5bb45a63cde703013871daa401d1ef.zip
cleaner cluster messages
Diffstat (limited to 'go/topology/topology.go')
-rw-r--r--go/topology/topology.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/go/topology/topology.go b/go/topology/topology.go
index 5b3d29e0b..24b3ab337 100644
--- a/go/topology/topology.go
+++ b/go/topology/topology.go
@@ -12,6 +12,8 @@ import (
type Topology struct {
NodeImpl
+ IsLeader bool
+
collectionMap map[string]*Collection
pulse int64