Commit graph

2352 commits

Author SHA1 Message Date
Travis Turner
91c7abfa9a
remove outdated TODO 2017-11-28 16:47:40 -06:00
Travis Turner
8228ef2382
Add a Cluster.Static override for tests to treat static nodes as
Coordinator.
Refactor the Server.joining channel to be in Cluster instead.
2017-11-28 16:40:05 -06:00
Travis Turner
ccdd6262c5
add error logging for non-topology nodeJoin 2017-11-28 12:43:49 -06:00
Travis Turner
ae63adfaac
let remote nodes know that its safe to open Holder when launching based on existing taxonomy 2017-11-27 11:06:03 -06:00
Travis Turner
013cd0cd95
refactor resize instruction logic to support multi-index. wait to open holder on non-coordinator nodes. 2017-11-27 11:06:03 -06:00
Travis Turner
f2c32f8ec9
add logging support to ResizeJob 2017-11-27 11:06:03 -06:00
Travis Turner
bd511dae80
ensure that holder opens before node is deemed ready 2017-11-27 11:06:03 -06:00
Travis Turner
a13db570cc
WIP: Wait for nodeState on Holder.Open().
Implement prefect in Cluster so a node can start http listener in a
restricted mode.
Adjust tests; particularly start test.Holder in state Normal.

TODO:
- [ ] fix test TestMain_SendReceiveMessage
- [ ] add additional tests for `nodeState`
2017-11-27 11:06:03 -06:00
Travis Turner
a98b862fca
add /cluster/resize/remove-node endpoint 2017-11-27 11:06:02 -06:00
Travis Turner
f0763a5089
Merge pull request #963 from travisturner/set-coordinator
add set-coordinator endpoint
2017-11-20 18:27:44 -06:00
Travis Turner
ec135a51b6
Merge pull request #964 from travisturner/temp-disable-go-master-build
Temporarily disable Go master CI as builds are failing due to possibl…
2017-11-15 09:29:21 -06:00
Cody Soyland
2517b994a1
Temporarily disable Go master CI as builds are failing due to possible Go bug (See #956) 2017-11-15 09:28:29 -06:00
Travis Turner
426992bc59
add set-coordinator endpoint 2017-11-15 09:13:52 -06:00
Travis Turner
d741649d00
Merge pull request #946 from travisturner/buffer-joining-nodes
WIP: don't block joining nodes while coordinator loads data.
2017-11-15 08:04:00 -06:00
Travis Turner
212628b220
adjust tests to include Cluster.ListenForJoins() 2017-11-10 11:38:16 -06:00
Travis Turner
453bbc996c
adjust Holder.Peek() and add tests for it 2017-11-10 10:38:49 -06:00
Travis Turner
9d87019762
WIP: don't block joining nodes while coordinator loads data.
Implements a Holder.Peek() function, and breaks out
Cluster.ListenForJoins() into a separate method that can be started
after the Holder finishes loading data.

TODO:
- [ ] test Holder.Peek()
2017-11-10 09:14:13 -06:00
Travis Turner
351e43db41
Merge pull request #937 from travisturner/merge-master
Merge master into cluster-resize
2017-11-08 10:20:53 -06:00
Travis Turner
e641aa1d8a
Merge branch 'master' into 'cluster-resize' 2017-11-07 15:00:11 -06:00
Michael Baird
bbc82d166d
Merge pull request #936 from raskle/fix-test-string-format
Fix test string format
2017-11-07 10:12:56 -06:00
Travis Turner
b11a6dd1a1
Merge pull request #932 from travisturner/nodeid-tags
891 nodeid tags (from #897)
2017-11-06 14:56:45 -06:00
Travis Turner
ec5ac629cd
porting the remaining changes from PR #897 2017-11-06 14:48:35 -06:00
Michael Baird
64da894e7e adding uri to string method 2017-11-06 14:08:01 -06:00
Michael Baird
1283263b70 missing formatting directive 2017-11-06 14:01:09 -06:00
Michael Baird
d47878ca40 Merge branch 'fix-test-string-format' of github.com:raskle/pilosa into fix-test-string-format 2017-11-06 13:58:18 -06:00
Travis Turner
721baba105 Fix error format on slices.
These tests were failing on `Go:master` (passing on `Go:1.8` and
`Go:1.9`)
2017-11-06 13:57:57 -06:00
Michael Baird
17da0443d3
Merge pull request #895 from raskle/diagnostics
Diagnostics
2017-11-06 11:30:38 -06:00
Travis Turner
53fa54d3d3
891 nodeid tags (from #897) 2017-11-06 09:17:50 -06:00
Travis Turner
7116232625
Merge pull request #931 from travisturner/uri-json-tags
add json tags to uri struct
2017-11-06 08:46:22 -06:00
Travis Turner
f94a2a0cfc
add json tags to uri struct 2017-11-06 08:38:08 -06:00
Travis Turner
638e328455
Merge pull request #929 from travisturner/cluster-resize-tests
Add Cluster resize tests.
2017-11-06 08:34:46 -06:00
Travis Turner
5071fd9e5d
Fix error format on slices.
These tests were failing on `Go:master` (passing on `Go:1.8` and
`Go:1.9`)
2017-11-03 18:14:17 -05:00
Travis Turner
d10677bb6f
Fix error format on slices.
These tests were failing on `Go:master` (passing on `Go:1.8` and
`Go:1.9`)
2017-11-03 18:02:21 -05:00
Travis Turner
c7c1be6813
change read lock to write lock 2017-11-03 17:43:05 -05:00
Travis Turner
73b9d9fd85
Add Cluster resize tests.
Consolidate schema creation into Holder.ApplySchema.
Add view names to proto schema.
2017-11-03 17:22:39 -05:00
Travis Turner
e9baaea2d3
Merge pull request #927 from travisturner/cluster-resize-sync-schema
include Schema in pb.ResizeInstructions
2017-11-03 11:31:12 -05:00
Travis Turner
7d300e7080
include Schema in pb.ResizeInstructions 2017-11-03 11:21:53 -05:00
Travis Turner
a8c507cbae
Merge pull request #917 from tgruben/restrictedrouter
added endpoint protection for cluster resize
2017-11-01 14:12:52 -05:00
Michael Baird
d50a0e241f gobreaker dep 2017-11-01 12:00:20 -05:00
Michael Baird
98bd7b3ba2 improvements to the version check message 2017-11-01 11:59:59 -05:00
Cody Soyland
aaee9b202a
Merge pull request #919 from codysoyland/875-value-importer-bug
Fix field value import: Use signed int and respect field minimum
2017-10-31 14:37:24 -05:00
Travis Turner
da0184f728
Adjust comments. Change DefaultSecurityManager to NopSecurityManager. 2017-10-31 13:56:58 -05:00
Cody Soyland
27748259a2 Fix field value import: Use signed int and respect field minimum. Fixes #875 2017-10-31 13:32:26 -05:00
Todd Gruben
fc829b08e8 made endpoint available for resize 2017-10-31 12:12:20 -05:00
Todd Gruben
9b7adde692 added endpoint protection for cluster resize 2017-10-31 11:32:08 -05:00
Travis Turner
3bdcc16dbc
Merge pull request #913 from travisturner/abort-resize-endpoint
endpoint to abort a cluster resize that is in progress
2017-10-30 15:51:06 -05:00
Travis Turner
fb08fd3902
endpoint to abort a cluster resize that is in progress 2017-10-30 15:50:22 -05:00
Michael Baird
3539c6ffb5 Fixed overwriting standard with inverse max slice 2017-10-30 15:28:12 -05:00
Travis Turner
c360ca2975
Merge pull request #912 from travisturner/copy-fragment-data
Copy fragment data
2017-10-30 14:41:20 -05:00
Travis Turner
fa61824975
Merge pull request #908 from travisturner/update-status-schema
Update status schema
2017-10-30 14:39:52 -05:00