Commit graph

3484 commits

Author SHA1 Message Date
Travis Turner
9633e34300
address feedback in PR 2018-07-01 19:54:10 -05:00
Travis Turner
3adc3f5978
add tests for index and field success responses 2018-07-01 19:54:09 -05:00
Travis Turner
8a5f5dd737
return an error when deleting a non-existent index or field 2018-07-01 19:54:09 -05:00
Travis Turner
7dd1f50a75
consolidate http errors into a shared response type 2018-07-01 19:54:09 -05:00
Matthew Jaffee
ea18d06780
Merge pull request #1437 from jaffee/more-test-refactoring
remove the last usages of test.NewExecutor and cleanup unused in test…
2018-07-01 19:28:36 -05:00
Matt Jaffee
95547a9a27
remove the last usages of test.NewExecutor and cleanup unused in test package 2018-07-01 07:31:31 -05:00
Matthew Jaffee
96eae99d38
Merge pull request #1434 from jaffee/skipped-tests
Skipped tests
2018-07-01 07:13:58 -05:00
Matt Jaffee
9337efc595
Merge branch 'develop' into skipped-tests 2018-06-30 08:43:19 -05:00
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
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
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