Matt Jaffee
29ad1287d4
refactor executor_test.go
2018-06-30 08:41:19 -05:00
tgruben
9755a186e1
Merge pull request #1435 from tgruben/quantum-test
...
more comprehensive time quantum tests
2018-06-29 17:52:24 -05:00
tgruben
3e44ab90c7
Merge branch 'develop' into quantum-test
2018-06-29 17:41:10 -05:00
Todd Gruben
785adfec2a
more complete permutations
2018-06-29 17:35:40 -05:00
Cody Soyland
9ee4716267
Merge pull request #1429 from codysoyland/enterprise-license-exclude-apache
...
Exclude Apache2 license from enterprise build directory
2018-06-29 16:42:28 -04:00
tgruben
49ed3b71eb
Merge branch 'develop' into quantum-test
2018-06-29 15:37:01 -05:00
Todd Gruben
3db1087bce
more comprehensive time quantum tests
2018-06-29 15:33:23 -05:00
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
Matt Jaffee
6bb5bf2602
Merge branch 'develop' into deadcode
2018-06-29 10:11:56 -05:00
Cody Soyland
77c7a94686
Merge branch 'develop' into enterprise-license-exclude-apache
2018-06-29 09:46:46 -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
d73ff9bfe2
collapse memAttrStore
...
memAttrStore is not used, but I opted to leave it in order to encourage its use
by future unit tests. Since it is unexported, however, and its fairly obvious
what it does, I didn't think the docstrings were adding much value, and it's more
readable in this compact form.
2018-06-29 08:12:20 -05:00
Matt Jaffee
6ff792c164
remove dead code (deadcode)
2018-06-29 08:12:04 -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
92466fda8d
Remove Apache2 license from enterprise build directory
2018-06-28 21:59:15 -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