Matt Jaffee
616545cd5c
remove input definition, add install-stringer to Makefile
...
also removes one line of unreachable code in cluster.go (unrelated)
2018-05-14 17:14:20 -05:00
Matthew Jaffee
992c3e8bdd
WIP - adding more locking to Cluster
2018-05-04 10:48:57 -07:00
Matthew Jaffee
57ac2f40aa
fix nil client bug in monitorAntiEntropy (and test)
...
also fix bug where broadcast_test tried to listen on localhost:10101
2018-04-28 09:12:59 -05:00
Matthew Jaffee
f99479932d
rename server Run to Start to better reflect functionality
2018-04-23 16:28:24 -05:00
Matthew Jaffee
28acc29a10
refactoring pilosa/server
...
trying to separate internal an external concerns in pilosa.Server - it should
handle Cluster, Holder, etc. while pilosa/server handles things with external
deps - e.g. Logger, Stats, Handler, etc. Using functional options in
pilosa.Server now.
2018-04-23 13:35:39 -05:00
Travis Turner
9a2aeac6f8
Clean up logger; make it honor --log-path flag.
...
Add functional options to NewGossipMemberSet.
2018-03-27 08:40:04 -05:00
Cody Soyland
f9efa6c579
Use type func(string) AttrStore in place of interface AttrStoreGenerator for simplicity
2018-03-23 13:57:29 -05:00
Travis Turner
b66bedd1ef
put BoltDB behind AttrStore interface
2018-03-19 11:30:41 -05:00
Travis Turner
1cc45b22a2
Change Config.Coordinator from URI to bool
2018-03-08 12:42:24 -06:00
Travis Turner
c3f25e6d2c
Merge pull request #1143 from travisturner/scheme-in-bind-addr
...
handle the scheme correctly in config.Bind
2018-02-23 14:20:59 -06:00
Travis Turner
3d1538d53c
handle the scheme correctly in config.Bind
2018-02-23 10:48:55 -06:00
Cody Soyland
a23fe86839
Convert gossip seed string to slice
2018-02-22 13:14:45 -06:00
Travis Turner
6776fa81ef
Merge branch 'master' into cluster-resize-merging
2018-02-16 11:13:40 -06:00
Yuce Tekol
c2d16f44e3
Spread recalculate caches to all nodes. Fixes #1069
2018-02-12 04:12:35 +03:00
Travis Turner
1085be6582
fix bug in NewServerCluster where each host was its own coordinator
2018-02-08 15:11:51 -06:00
Travis Turner
9085c03ce8
Changes configuration cluster.type (string) to cluster.disabled (bool)
2018-02-08 12:40:46 -06:00
Travis Turner
2d5daaf78d
Merge branch 'master' into cluster-resize
2018-02-06 10:06:15 -06:00
Travis Turner
668689e119
ensure that the license is prepended to all source files
2018-02-05 16:35:28 -06:00
Cody Soyland
6756d97089
Enable diagnostics via build constraint to prevent from running in tests
2018-02-02 17:32:14 -06:00
Travis Turner
1b0fcb0e5a
move cluster Main test helpers to the test package
2018-01-23 12:38:14 -06:00
Travis Turner
d64a107ddd
remove deprecated MustNewRunningServer
2018-01-17 13:26:20 -06:00
Travis Turner
c0fab2bcee
Merge branch 'master' into cluster-resize
2018-01-17 12:55:12 -06:00
Yuce Tekol
be24428367
Uses NewServerCluster method in tests
2018-01-17 14:43:58 +03:00
Matthew Jaffee
5799c10cd1
rename openPort, and some small refactors
2018-01-16 09:41:03 -06:00
Matthew Jaffee
673a290255
make diagnostics false in cluster test
2018-01-15 10:40:36 -06:00
Matthew Jaffee
0ac8648ea9
add NewServerCluster(size int) method to pilosa/test
2018-01-12 16:29:32 -06:00
Matthew Jaffee
05254ad11e
add test helper for starting a new pilosa instance
...
Pilosa runs on ephemeral ports with temporrary storage.
2017-11-01 13:21:06 -05:00