Ben Johnson
f4c9c0fed3
Maintain available shards set.
...
This commit removes the previous `MaxShard` tracking and replaces
it with an `Available Shards` set tracking. This allows sparse shard
tracking without implicitly tracking all shards in between.
2018-08-22 07:57:58 -06:00
Travis Turner
6b75988b71
add key translation to exports
2018-08-20 13:40:58 -05:00
Matt Jaffee
e16c43c3bc
Merge branch 'master' into 1492-ae-and-resize
2018-08-20 09:13:35 -05:00
Travis Turner
f1a460aca7
adds view parameter to sync logic for syncing time fields
2018-08-16 11:27:08 -05:00
Travis Turner
bf4e2e598b
add support for column keys when importing to int fields
2018-08-15 16:00:31 -05:00
Travis Turner
3793719485
fix conflicts
2018-08-14 09:37:25 -05:00
Ben Johnson
a31a08c330
Support keys on import CLI.
2018-08-14 09:32:39 -05:00
Travis Turner
debd470211
replace api.server.holder with api.holder
2018-08-13 11:06:16 -05:00
Travis Turner
b304de6536
Treat coordinator as primary translate store.
...
Daisy-chain other nodes based on their position in the cluster.
Deprecate the `primary-url` configuration option.
2018-08-13 11:06:16 -05:00
Matt Jaffee
0e467e5492
rename cluster.nodes and fix race in API
2018-08-08 15:11:39 -05:00
Matt Jaffee
bb32706cb6
support DEGRADED in removeNode
...
now, nodes which have failed and been removed from the running cluster state can
still be manually removed to trigger a cluster resize event. This is important
because otherwise there is no way to cause the cluster to resize itself if a
node fails and you don't want to add a node to replace it.
2018-08-06 16:55:23 -05:00
Matt Jaffee
48af3adc21
add degraded cluster state and handle node failure
...
cluster is in degraded state when some number of nodes greater than 0 but less
than replicaN have failed. This is sort of a hybrid of "STARTING" and "NORMAL"
states because we can still respond to queries as in the NORMAL state, but we
need to be alert to re-add nodes to the cluster if they come back online which
required some changes to the cluster logic.
In order to make debugging easier, the test.MustRunCluster functionality now
names the nodes in the cluster explicitly as "node0", "node1", etc. "node0" is
the coordinator.
A number of TODOs are left in the test for scenarios that need to be checked.
2018-08-06 11:57:24 -05:00
Travis Turner
3ffafaca4a
ignore remote translation
2018-07-30 11:45:34 -05:00
Cody Soyland
5410dcd6b1
Fix errant references of server.primaryTranslateStore to server.translateFile
2018-07-30 11:45:34 -05:00
Cody Soyland
f9625ef4fa
Fix linter issues: unparam
2018-07-17 12:05:07 -05:00
Cody Soyland
c464e0fe64
Fix linter issues: gofmt
2018-07-16 16:45:42 -05:00
Cody Soyland
4aa8a41fa0
Unexport NewNotFoundError
2018-07-05 23:11:56 -05:00
Cody Soyland
a1fc587577
Unexport NewApiMethodNotAllowedError
2018-07-05 23:11:56 -05:00
Cody Soyland
0648d0fc75
Unexport Holder.RecalculateCaches
2018-07-05 23:11:56 -05:00
Cody Soyland
ba9c5193b5
Unexport Field.ImportValue
2018-07-05 23:11:56 -05:00
Cody Soyland
7559382115
Unexport AttrBlocks
2018-07-05 23:11:56 -05:00
Cody Soyland
b4011778dd
Unexport APIOption, b.BTCIterator, API.Holder, API.Serializer, APIOption, http.Handler.API
2018-07-05 23:11:56 -05:00
Matt Jaffee
21bfa5df77
remove Holder from API
2018-07-05 20:58:25 -05:00
Travis Turner
c10cdc9d22
exclude views from http schema output
2018-07-05 19:15:34 -05:00
Matt Jaffee
0a94d2f10d
Merge branch 'develop' into core-structs
2018-07-05 16:38:14 -05:00
Matt Jaffee
db2a53223d
remove internal references from api and http/*
2018-07-05 16:02:18 -05:00
Matt Jaffee
bbb93abd57
remove lots of unused code
2018-07-05 15:35:32 -05:00
Matt Jaffee
59e80f9692
put Serializer on API, add QueryRequest/Response to serializer
2018-07-05 13:35:14 -05:00
Matt Jaffee
6309d3b7f7
get gossip using serializer stuff, remove proto and internal
2018-07-05 12:32:49 -05:00
Matt Jaffee
2cec75e399
add proto encoding subpackage and use for send and receive message
2018-07-05 12:00:42 -05:00
Travis Turner
dd0e1c57bd
Merge branch 'develop' into remove-dead-code
2018-07-05 08:21:58 -05:00
Travis Turner
bae5ee36ef
add support for OptFieldKeys() to http field creation
2018-07-04 22:24:05 -05:00
Matt Jaffee
cd8c63c125
tests passing
2018-07-04 21:43:18 -05:00
Travis Turner
3e288aa391
un-export field.FieldOptions
2018-07-04 21:39:01 -05:00
Travis Turner
44f0b992f6
change all CreateField() methods to take functional options instead of FieldOptions
2018-07-04 21:22:35 -05:00
Matt Jaffee
6417f468bb
wip implement more... still quite broken
2018-07-04 16:50:20 -05:00
Travis Turner
1fb8330c8c
remove some dead code highlighed by the unexport script
2018-07-04 12:27:42 -05:00
Matt Jaffee
5ff77c816a
get rid of unecessary server stuff and export node and uri
2018-07-03 13:26:51 -05:00
Matt Jaffee
f6aef32093
make gossip's interface to Pilosa the API struct rather than effectively being pilosa.Server
2018-07-03 12:58:18 -05:00
Matt Jaffee
2202bf467b
unexport view stuff
2018-07-02 17:18:00 -05:00
Matt Jaffee
009242fef9
unexport more Holder stuff (gorename)
2018-07-02 14:07:06 -05:00
Matt Jaffee
9995b0032e
unexport Holder.Fragment, HolderSyncer and HolderCleaner
2018-07-02 14:00:31 -05:00
Travis Turner
2898a422bf
consolidate import and import-value endpoints
2018-07-02 10:41:54 -05:00
Matt Jaffee
4182678d5a
work on unexporting View stuff
2018-07-02 10:11:56 -05:00
Matt Jaffee
7376befddd
Merge branch 'develop' into even-more-unexport
2018-07-02 09:12:30 -05:00
Matt Jaffee
3be609ed10
unexport newCluster and some other stuff
2018-07-02 09:10:09 -05:00
Travis Turner
0dca89ca4f
Merge branch 'develop' into http-responses
2018-07-02 08:37:37 -05:00
Matt Jaffee
2210480198
unexport some translation related consts, remove an unused one
2018-07-02 08:20:53 -05:00
Matt Jaffee
91f531f2cd
more unexports - executor, api fields
2018-07-02 08:14:13 -05:00
Matt Jaffee
7801b81b10
unexport cluster (gorename)
2018-07-02 07:56:51 -05:00