Commit graph

2273 commits

Author SHA1 Message Date
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
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
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
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
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
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
Travis
f1e3ac90d4
Determine cluster membership via gossip.
Handle resize cluster events.
Add Toplogy support.
Refactor FrameOptions.
Add tests.
2017-10-25 00:27:30 -05:00
Yuce Tekol
2b13693b48 Merge pull request #898 from yuce/howto-tls
Added TLS cluster how to
2017-10-23 21:28:10 +03:00
Yuce Tekol
137c4724af
more tls howto updates 2017-10-23 19:51:58 +03:00
Yuce Tekol
b7443b042f
fixed howtos text 2017-10-23 19:31:33 +03:00
Yuce Tekol
ce0927dbc9 Merge pull request #889 from yuce/gossip-encryption
Gossip encryption
2017-10-23 19:24:53 +03:00
Yuce Tekol
0690c5259a
Added What's Next section 2017-10-23 07:05:32 +03:00
Yuce Tekol
e74aa43dd0
fix node3 config; ensure hosts can be accessed; /status output 2017-10-21 01:41:28 +03:00
Yuce Tekol
9686edbca5
pilosa server runs the server 2017-10-21 00:41:27 +03:00
Yuce Tekol
9229b401ef
Added TLS cluster how to 2017-10-20 16:36:24 +03:00
Matthew Jaffee
27a91a6465 Merge pull request #887 from pilosa/dep-fixes
constrain bolt to version rather than specific revision
2017-10-19 08:34:41 -05:00
Yuce Tekol
4bebc9b9c4 Merge pull request #890 from yuce/trivial-readme-fix
TRIVIAL: Fixes client libraries anchor in the README
2017-10-16 16:15:03 +03:00
Yuce Tekol
a320e6e212
Fixes client libraries anchor 2017-10-16 06:26:30 +03:00
Yuce Tekol
fc9fc1342d Merge pull request #867 from yuce/tls-support-URI
TLS support
2017-10-13 17:47:04 +03:00
Yuce Tekol
9ac54c31b0
updated NewGossipNodeSet call in tests 2017-10-13 13:39:38 +03:00
Yuce Tekol
eec739c331
Adds gossip encryption key; copies Config.Gossip{Port,Seed} to Config.Gossip.{Port,Seed}, deprecates --gossip-port and --gossip-seed. Use --gossip.port and --gossip.seed 2017-10-13 13:30:41 +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
30f3cb2386
Remove URI error, URIFromAddress 2017-10-12 15:52:36 +03:00
Yuce Tekol
e223ec3f9a
Rename Host -> URI 2017-10-12 15:49:34 +03:00
Yuce Tekol
2efec8e860 Merge pull request #882 from yuce/fix-dot-in-env
Fix dot in env
2017-10-12 15:02:15 +03:00
Travis Turner
625c93e018 Merge pull request #881 from cwndrws/recalculate-caches-endpoint
Add Recalculate Caches Endpoint
2017-10-11 11:49:33 -05:00
Travis
a7ec49c6ad
Adjust the documentation. Rename endpoint to recalculate-caches 2017-10-11 10:56:30 -05:00
Charlie Andrews
5418dc152e Add docs for recalculate caches 2017-10-11 09:45:20 -05:00
Charlie Andrews
b6509a3ad7 Add RecalculateCaches to every level in hierarchy
This to decouple the implementation of recalculating caches from the
structure of the hierarchy: holder > index > frame > view > fragment.
See [Law of Demeter](https://en.wikipedia.org/wiki/Law_of_Demeter).
2017-10-11 09:36:32 -05:00