Travis Turner
c0fab2bcee
Merge branch 'master' into cluster-resize
2018-01-17 12:55:12 -06:00
Yuce Tekol
bc49d1e6fd
Makes /version endpoint semver-compatible
2018-01-09 21:15:36 +03:00
Travis Turner
6b3f4d1a64
Merge branch 'master' into cluster-resize
...
Refactored LocalID/ClusterID for use with Topology and Coordinator.
2017-12-18 15:39:50 -06:00
Yuce Tekol
1448171a2c
Adds local and cluster IDs
2017-12-15 18:12:28 +03:00
Travis Turner
0342da92bb
WIP: add tests for cluster resize
...
This commit adds support for allocating a gossip transport
and a server listener prior to opening server (and cluster).
Doing that allows tests to use a dynamically allocated port
by supplying bind port: 0.
2017-12-12 16:27:47 -06:00
Travis Turner
9667a04cad
Merge branch 'master' into cluster-resize
2017-12-08 17:56:31 -06:00
Travis Turner
637111a76c
Change Broadcaster.SyndSync to send direct via http
...
as opposed to using memberlist's gossip broadcast.
Introduce a Gossiper interface for SendAsync gossip messages.
2017-12-08 09:00:47 -06:00
Michael Baird
814bc40a16
return the error from /cluster/message
2017-12-08 08:22:59 -06:00
Michael Baird
013d32099e
New /cluster/message endpoint handles all SendSync Messages
2017-12-08 08:22:59 -06:00
Travis Turner
c9886b049b
Merge branch 'master' into cluster-resize working branch.
2017-12-04 22:18:57 -06:00
Todd Gruben
f051f7ccea
refactored httpclient handling
2017-12-01 16:00:12 -06:00
Travis Turner
91c7abfa9a
remove outdated TODO
2017-11-28 16:47:40 -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
426992bc59
add set-coordinator endpoint
2017-11-15 09:13:52 -06:00
Yuce Tekol
f756e9eee6
Updates
2017-11-14 19:15:17 +03:00
Yuce Tekol
83be24f4d2
Removes column/row labels for input definition. Resolves #810
2017-11-10 18:00:45 +03:00
Travis Turner
e641aa1d8a
Merge branch 'master' into 'cluster-resize'
2017-11-07 15:00:11 -06:00
Travis Turner
ec5ac629cd
porting the remaining changes from PR #897
2017-11-06 14:48:35 -06:00
Travis Turner
da0184f728
Adjust comments. Change DefaultSecurityManager to NopSecurityManager.
2017-10-31 13:56:58 -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
fb08fd3902
endpoint to abort a cluster resize that is in progress
2017-10-30 15:50:22 -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
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
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
cd8542ca30
Remove FrameSchema. Move Fields to the Frame struct.
2017-10-26 11:11:05 -05:00
Travis Turner
a8871ada6a
Convert Host to URI.
...
Fix all compile errors.
2017-10-25 11:52:55 -05:00
Yuce Tekol
642bf3180f
Rename NewClientFromURI to NewInternalHTTPClientFromURI
2017-10-18 21:17:25 +03:00
Yuce Tekol
0f8f596376
Trivial NewClientFromURI simplification
2017-10-17 12:07:45 +03:00
Yuce Tekol
2c5a8d9125
Fixed Merge branch 'master' into tls-support-URI
...
# Conflicts:
# cmd/server_test.go
2017-10-12 16:03:32 +03:00
Yuce Tekol
e223ec3f9a
Rename Host -> URI
2017-10-12 15:49:34 +03:00
Travis
a7ec49c6ad
Adjust the documentation. Rename endpoint to recalculate-caches
2017-10-11 10:56:30 -05:00
Charlie Andrews
9954bdd340
Add /recalculatecaches endpoint for triggering the recalculating of caches on demand
2017-10-09 17:07:39 -05:00
Yuce Tekol
3501732b19
https with signed certificates work
2017-10-08 21:11:19 +03:00
Yuce Tekol
1bedfd6585
use URI instead of host
2017-10-04 08:20:00 +03:00
Travis
06f387842b
Adjust some comments and handle error conditions in Handler.
2017-09-27 15:51:16 -05:00
Linh Vo
d507251f3c
resolve conflig with master
2017-09-27 12:00:57 -05:00
Travis
01fa368c6a
Import FieldValues
...
This PR adds the ability to import field values into RangeEnabled frames
using the `pilosa import` command.
Example:
```
pilosa import -i i -f f --field foo sample-vals.csv
```
imports data from sample-vals.csv, which contains data in the format:
```
[ColumnID, Value]
```
Also fixes a bug where `frame.rangeEnabled` was not being set on frame creation.
2017-09-27 11:43:10 -05:00
Linh Vo
7e53a4ed1d
more test
2017-09-27 10:10:43 -05:00
Linh Vo
a1a6c7d717
update test
2017-09-26 13:46:00 -05:00
Linh Vo
505363d8ed
get fields
2017-09-26 10:57:22 -05:00
Ben Johnson
8bd1ab31f5
Add field HTTP API.
2017-09-07 11:45:20 -06:00
Michael Baird
62791e7a2f
Merge pull request #785 from raskle/613-delete-view
...
Delete view API
2017-08-28 13:38:07 -05:00
Michael Baird
5cbd312085
Send delete view message to all nodes regardless if the receiving node contains that view.
2017-08-28 09:23:06 -05:00
Yuce Tekol
3367c69959
merged with master
2017-08-25 23:59:40 +03:00
Michael Baird
60a4ad0c52
Use the full view name in the Delete API. Will need to append the prefix: standard_, inverse_, or field_
2017-08-25 08:11:00 -05:00
Yuce Tekol
e89ffcccbd
Renamed inhibit* to exclude*
2017-08-23 04:57:22 +03:00
Michael Baird
f5832cda02
Clarify that Holder Reopen requires Close to be run beforehand.
2017-08-22 15:13:21 -05:00