Matt Jaffee
ea77db895a
fix syncholder test and a few bugs
...
The http internal client's FragmentBlocks and Blockdata methods were being used
incorrectly, and incorrect respectively. One was not being passed a node URI by
monitorAntiEntropy, and the other was always using the defaultURI regardless of
what was passed to it. Antientropy was doubling not working because of this. I
think this crept in pretty recently, so hasn't actually affected anyone.
I exposed a SyncData method on Server so that we can invoke the anti entropy
task manually instead of trying to set up the interval so that it will run and
then sleeping and waiting for it to run. Now that this test works the way it
does, the other anti entropy test is obsolete, and I deleted it.
2018-06-29 14:48:13 -05:00
Matt Jaffee
5766f572b1
fix skipped client TopN test
...
had to remove the first check which was for the wrong result - because maxShard
is no longer wrong since the broadcaster is actually working.
2018-06-29 12:21:33 -05:00
Matthew Jaffee
a1cb4ee107
Merge pull request #1431 from jaffee/1430-mapsize-overflow
...
define map size separately for 32 and 64 bit systems
2018-06-29 09:43:33 -05:00
Matt Jaffee
4124bc76a3
define map size separately for 32 and 64 bit systems
2018-06-29 07:18:26 -05:00
Matthew Jaffee
0fae552577
Merge pull request #1428 from jaffee/more-gossip-stuff
...
More gossip stuff
2018-06-29 07:14:41 -05:00
Matt Jaffee
d2d84d2649
remove commented code
2018-06-29 06:52:29 -05:00
Matt Jaffee
2e15db7ce0
Merge branch 'develop' into more-gossip-stuff
2018-06-29 06:49:13 -05:00
Cody Soyland
c75b85d9c1
Merge pull request #1427 from codysoyland/remove-api-broadcaster
...
Remove API.Broadcaster
2018-06-28 21:21:26 -05:00
Matt Jaffee
91454a5cd0
collapse *handler interfaces into MemberServer
...
gossip now takes a single "MemberServer" which is implemented by server. Several
interfaces have been removed.
MemberServer contains ReceiveMessage which is a superset of the functionality of
ReceiveEvent, LocalStatus and HandleRemoteStatus are all that's left of
StatusHandler - ClusterStatus was not used and is gone. The Node() method is
actually a subset of LocalStatus() functionality. Maybe we should break up
localstatus or remove Node... not sure.
Remove BroadcastReceiver test which was a bit silly.
NodeEvent can now be unexported, and is.
2018-06-28 17:16:08 -05:00
Cody Soyland
86b24e3824
Remove API.Broadcaster
2018-06-28 15:51:51 -05:00
Travis Turner
e7acf21107
Merge pull request #1426 from travisturner/slice-to-shard
...
rename slice to shard
2018-06-28 15:43:33 -05:00
Travis Turner
e17096328d
Merge branch 'develop' into slice-to-shard
2018-06-28 15:38:40 -05:00
tgruben
bc5fec246c
Merge pull request #1424 from tgruben/clearbit-notime
...
Clearbit for time fields
2018-06-28 15:25:56 -05:00
Matt Jaffee
12a49c3e14
remove ClusterStatus method and StatusHandler interface
...
gossipEventReceiver uses ReceiveMessage instead of ReceiveEvent
2018-06-28 14:45:20 -05:00
Todd Gruben
4054f33ad5
exported DefaultCacheSize, not sure why i had unexproted
2018-06-28 14:40:23 -05:00
tgruben
a81e01b019
Merge branch 'develop' into clearbit-notime
2018-06-28 14:12:29 -05:00
Travis Turner
5dd7a9556a
rename slice to shard
2018-06-28 14:07:07 -05:00
Cody Soyland
112e8e68b6
Merge pull request #1425 from codysoyland/enhance-test-utilities
...
Enhance test utilities
2018-06-28 13:45:39 -05:00
Cody Soyland
4f3cf9af30
Use GossipAddress() helper
2018-06-28 13:34:58 -05:00
Cody Soyland
824474160e
Enhance test utilities (introduce Cluster type, improve naming)
2018-06-28 13:34:58 -05:00
Todd Gruben
dde8ea02b1
Merge branch 'clearbit-notime' of github.com:tgruben/pilosa into clearbit-notime
2018-06-28 12:42:35 -05:00
Todd Gruben
fcecb871cf
naming adjustments; code cleanup
2018-06-28 12:41:39 -05:00
Cody Soyland
0469cd599e
Merge pull request #1423 from codysoyland/fix-races
...
Fix a few data races
2018-06-28 12:22:29 -05:00
Cody Soyland
d629c59f58
Merge branch 'develop' into fix-races
2018-06-28 11:55:18 -05:00
Matt Jaffee
75c1440eb5
simplify gossipEventReceiver - no longer needs separate Start method
...
also remove some dead code
2018-06-28 11:25:07 -05:00
Matt Jaffee
965bd08225
unexport newGossipEventReceiver and remove some dead code
2018-06-28 11:00:45 -05:00
Cody Soyland
25be5c0f2f
Use channel to notify on server close instead of atomic.Value. Ensure CloseFunc() only called once.
2018-06-28 10:38:37 -05:00
Matt Jaffee
09adc3b461
unexport gossipEventRecevier in gossip.go
2018-06-28 10:34:42 -05:00
Travis Turner
de93477e99
Merge pull request #1409 from travisturner/field-options
...
prepare to un-export pilosa.FieldOptions
2018-06-28 10:32:33 -05:00
Travis Turner
22661f3571
Merge branch 'develop' into field-options
2018-06-28 10:20:17 -05:00
tgruben
a8418b6c49
Merge branch 'develop' into clearbit-notime
2018-06-27 18:21:27 -05:00
Todd Gruben
4970083d4d
refactored strategy for time based clearbit
2018-06-27 18:15:44 -05:00
Cody Soyland
5d43d414f7
Fix a few data races
2018-06-27 17:00:17 -05:00
Matthew Jaffee
f59452a7e7
Merge pull request #1421 from jaffee/remove-
...
remove some unused interfaces and implementations from broadcast.go
2018-06-27 16:15:20 -05:00
Matt Jaffee
648cfe7ad0
unexport Cluster fields which could be automatically unexported
2018-06-27 15:39:12 -05:00
Matt Jaffee
d6029e64fc
remove EventReceiver - not used anymore
2018-06-27 15:33:53 -05:00
Matt Jaffee
5e48023565
remove some unused interfaces and implementations from broadcast.go
2018-06-27 14:48:07 -05:00
Matthew Jaffee
7f908fcf38
Merge pull request #1420 from jaffee/remove-cluster-refs
...
Remove cluster refs
2018-06-27 14:35:36 -05:00
Cody Soyland
27de0e1682
Merge branch 'develop' into remove-cluster-refs
2018-06-27 14:22:49 -05:00
Cody Soyland
badb5bcc68
Merge pull request #1416 from codysoyland/unexport-api-translatestore
...
Remove API.TranslateStore
2018-06-27 14:22:18 -05:00
Cody Soyland
8657eb3b04
Merge branch 'develop' into unexport-api-translatestore
2018-06-27 14:07:46 -05:00
Matthew Jaffee
c0b13337f6
Merge pull request #1418 from jaffee/test-runcluster-simplify
...
Test runcluster simplify
2018-06-27 14:07:13 -05:00
Cody Soyland
b2ebb4ce06
Fix deadlock
2018-06-27 13:50:48 -05:00
Matt Jaffee
8f7cc2fbaa
unexport Server.LoadNodeID (gorename)
2018-06-27 13:37:08 -05:00
Matt Jaffee
9998eda3d4
remove Server.Addr - use URI instead
2018-06-27 13:37:08 -05:00
Matt Jaffee
8f5d154b6c
unexport Server.NodeID
2018-06-27 13:37:07 -05:00
Matt Jaffee
f3aa141409
unexport server.Cluster (gorename)
2018-06-27 13:37:07 -05:00
Matt Jaffee
ea448fee9c
remove remaining external references to Server.Cluster
2018-06-27 13:37:07 -05:00
Cody Soyland
c042c77499
Merge branch 'develop' into unexport-api-translatestore
2018-06-27 13:36:19 -05:00
Matt Jaffee
4b09de0ca0
Merge branch 'develop' into test-runcluster-simplify
2018-06-27 13:36:08 -05:00