moby/libnetwork/networkdb
Tibor Vass eaa74497b8
libnetwork: use go-immutable-radix instead of radix
This commit allows to remove dependency on the mutable version armon/go-radix.

The go-immutable-radix package is better maintained.

It is likely that a bit more memory will be used when using the
immutable version, though discarded nodes are being reused in a pool.
These changes happen when networks are added/removed or nodes come and
go in a cluster, so we are still talking about a relatively low
frequency event.

The major changes compared to the old radix are when modifying (insert
or delete) a tree, and those are pretty self-contained: we replace the
entire immutable tree under a lock.

Signed-off-by: Tibor Vass <teabee89@gmail.com>
2022-11-30 17:03:46 -08:00
..
broadcast.go Optimize networkDB queue 2018-07-02 16:59:45 -07:00
cluster.go libnetwork: use go-immutable-radix instead of radix 2022-11-30 17:03:46 -08:00
delegate.go Optimize networkDB queue 2018-07-02 16:59:45 -07:00
event_delegate.go Avoid delay on node rejoin, avoid useless witness 2018-01-23 16:21:18 -08:00
message.go NetworkDB allow setting PacketSize 2017-07-26 13:44:33 -07:00
networkdb.go libnetwork: use go-immutable-radix instead of radix 2022-11-30 17:03:46 -08:00
networkdb.pb.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
networkdb.proto Spelling fixes 2018-07-12 12:54:44 -07:00
networkdb_test.go libnetwork: refactor networkdb test implementation 2022-07-25 09:44:35 -04:00
networkdbdiagnostic.go libnetwork: use strconv instead of fmt.Sprintf() 2022-10-08 17:41:39 +02:00
nodemgmt.go Cleanup node management logic 2017-12-13 09:40:38 -08:00
watch.go Fix leak of handleTableEvents 2017-05-31 11:04:19 -07:00