Commit graph

2339 commits

Author SHA1 Message Date
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
Travis Turner
f2d28a1df9
make note of a possible race condition 2017-10-30 14:28:45 -05:00
Travis Turner
ed7dcdcdef
rename NodeState to ClusterState 2017-10-30 13:09:27 -05:00
Travis Turner
f4b0729458
Rename structs and funcs.
NodeSet -> MemberSet
URISet -> NodeSet
AddNode -> AddNodeBasicSorted
AddHost -> AddNode
2017-10-30 13:03:55 -05:00
Travis Turner
ed1b4fcc2e
Copy fragment data from source nodes in resize instruction. 2017-10-30 13:01:57 -05:00
Travis Turner
2f6c4509c2
remove references to cluster.poll-interval 2017-10-30 09:20:09 -05:00
Travis Turner
f49b2f9b99
Adjust /status and /schema endpoints. Tried/failed to deprecate /slices/max (client is using it for backups). 2017-10-30 09:05:59 -05:00
Michael Baird
030b0721c8 Added a last checked version I'D. Fixed error messages. 2017-10-27 16:58:00 -05:00
Travis Turner
2bd0677df9
Remove MaxSlice polling.
Add Schema to proto.
Update MaxSlices in proto to include both standard and inverse.
Update LocalStatus (shared in gossip) to include MaxSlices and Schema.
Encode InputDefinitions with Index.

TODO:
- make sure InputDefinitions are considered in LocalStatus merge.
- decide what to do about `/slices/max` endpoint. client.backup is using
  it.
2017-10-26 23:48:40 -05:00
Travis Turner
097b866c37 Merge pull request #907 from travisturner/remove-frameschema
Remove FrameSchema. Move Fields to the Frame struct.
2017-10-26 16:03:36 -05:00
Travis Turner
cd8542ca30
Remove FrameSchema. Move Fields to the Frame struct. 2017-10-26 11:11:05 -05:00
alanbernstein
d4de1abea1 Merge pull request #884 from alanbernstein/remove-webui-rowlabel
Remove row and column labels in webUI
2017-10-25 11:56:57 -05:00
Travis Turner
deed9adfe4
Fix existing tests 2017-10-25 11:53:11 -05:00
Travis Turner
a8871ada6a
Convert Host to URI.
Fix all compile errors.
2017-10-25 11:52:55 -05:00