Commit graph

5199 commits

Author SHA1 Message Date
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
Cody Soyland
ebfbf78cc5
Merge pull request #1419 from codysoyland/fix-translatestore-test
Fix TestTranslateStore_Reader tests
2018-06-27 13:34:55 -05:00
Cody Soyland
8d908a89ce Fix TestTranslateStore_Reader tests 2018-06-27 11:39:10 -05:00
Matt Jaffee
fbe035ef25
simplify test cluster setup by exposing gossip transport on server.Command 2018-06-27 10:46:37 -05:00
Matt Jaffee
41bdfceb57
remove MemberSet from cluster, Open in server package 2018-06-27 07:22:32 -05:00
Matthew Jaffee
a0f21064ed
Merge pull request #1417 from jaffee/extracting-memberset
continue simplifying memberset and pilosa setup
2018-06-27 07:21:27 -05:00
Matt Jaffee
c312bc1316
simplify arguments to NewGossipMemberSet 2018-06-27 07:18:16 -05:00
Matt Jaffee
7153499c6a
Merge branch 'develop' into extracting-memberset 2018-06-27 06:58:33 -05:00
Travis Turner
6ab2729f0c
Merge branch 'develop' into field-options 2018-06-26 23:39:42 -05:00
Yuce Tekol
ec6fa268c7
Merge pull request #1390 from yuce/update-getting-started
Updated getting started section for latest develop
2018-06-27 01:52:14 +03:00
Yuce Tekol
345165e7df
Merge branch 'develop' into update-getting-started 2018-06-27 01:16:05 +03:00
Yuce Tekol
ffaddb7e41
Merge branch 'develop' into update-getting-started 2018-06-27 01:15:35 +03:00
Matt Jaffee
bcb6942c80
continue simplifying memberset and pilosa setup
since the gossip MemberSet has access to Server, it wasn't really necessary to
pass it a Node object when calling Open on it from Cluster. The end goal is to
have it be removed from Cluster entirely, and have it be Opened externally, and
this is a step toward that.

Exposing Node method on Server doesn't really expose any more than was already
there as the same info can be gotten from LocalStatus with a bit of type
casting. I figured adding the method was a little cleaner, and we could collapse
all the functionality when the dust has settled.

The Cluster.open method has been broken into two parts - one of which happens
earlier (at NewServer time), and the other will eventually just be "waiting to
make sure we've joined the cluster". Right now it's calling Memberset.Open, and
then waiting to make sure the cluster has been joined.
2018-06-26 14:36:05 -05:00
Todd Gruben
f16426b50a Merge remote-tracking branch 'upstream/develop' into clearbit-notime 2018-06-26 13:24:06 -05:00
Matthew Jaffee
a5f9236f3a
Merge pull request #1410 from pilosa/fix-translate-merged
Fix translate merged
2018-06-26 13:11:35 -05:00
Matt Jaffee
d9b4cfacb0
Merge branch 'develop' into fix-translate-merged 2018-06-26 12:51:41 -05:00
Matthew Jaffee
83405b3d38
Merge pull request #1412 from jaffee/simplify-event-receiver
consolidate gossipEventReceiver into gossip member set
2018-06-26 12:50:00 -05:00
Todd Gruben
ddf1ffc797 Merge branch 'develop' into clearbit-notime 2018-06-26 12:35:30 -05:00
Cody Soyland
80f794a4fd Remove API.TranslateStore, refactor Handler.getTranslateData to use new helper API.GetTranslateData 2018-06-26 11:58:27 -05:00
Matt Jaffee
3314a0372c
Merge branch 'develop' into simplify-event-receiver 2018-06-26 11:45:14 -05:00
Matthew Jaffee
6e89abb8ed
Merge pull request #1413 from codysoyland/command-server-opts
Add CommandOptions and use OptCommandServerOptions to inject mock TranslateStore
2018-06-26 11:44:49 -05:00