Merge pull request #1543 from allencloud/remove-unused-mConfig

remove unused mConfig
This commit is contained in:
Alessandro Boch 2016-11-08 11:05:49 -08:00 committed by GitHub
commit 4797d6a872
2 changed files with 0 additions and 6 deletions

View file

@ -139,7 +139,6 @@ func (nDB *NetworkDB) clusterInit() error {
nDB.stopCh = make(chan struct{})
nDB.memberlist = mlist
nDB.mConfig = config
for _, trigger := range []struct {
interval time.Duration

View file

@ -29,10 +29,6 @@ type NetworkDB struct {
// NetworkDB configuration.
config *Config
// local copy of memberlist config that we use to driver
// network scoped gossip and bulk sync.
mConfig *memberlist.Config
// All the tree index (byTable, byNetwork) that we maintain
// the db.
indexes map[int]*radix.Tree
@ -57,7 +53,6 @@ type NetworkDB struct {
// A map of nodes which are participating in a given
// network. The key is a network ID.
networkNodes map[string][]string
// A table of ack channels for every node from which we are