Travis Turner
9b4c67ee60
rename notnull to exists
2018-09-11 15:15:37 -05:00
Travis Turner
d57dae3749
implement NotNull field with index option trackNotNull
2018-09-11 15:13:55 -05:00
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
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
d50a0e853c
change NewTranslateStore() to take an interface for backward compatibility
2018-08-13 12:04:22 -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
16eff6de8c
prevent anti entropy and cluster resize from running simultaneously
2018-08-08 14:41:54 -05:00
Travis Turner
f9a265f94d
fix places where empty IndexOptions were being used
2018-07-23 17:23:54 -05:00
Cody Soyland
29eba09e1e
Add IndexOptions to IndexInfo json response
2018-07-19 14:11:14 -05:00
Cody Soyland
4aa8a41fa0
Unexport NewNotFoundError
2018-07-05 23:11:56 -05:00
Cody Soyland
59bbbfc1fb
Unexport NewConflictError
2018-07-05 23:11:56 -05:00
Cody Soyland
13a6542a15
Unexport Index.RecalculateCaches
2018-07-05 23:11:56 -05:00
Cody Soyland
0648d0fc75
Unexport Holder.RecalculateCaches
2018-07-05 23:11:56 -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
bbb93abd57
remove lots of unused code
2018-07-05 15:35:32 -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
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
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
06ad83b64b
more unexports - index methods and fields
2018-07-03 08:10:33 -05:00
Matt Jaffee
2202bf467b
unexport view stuff
2018-07-02 17:18:00 -05:00
Matt Jaffee
cff01f46c2
unexport fragment.go stuff
2018-07-02 14:50:33 -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
Matt Jaffee
a6a0c6a7c3
unexport Holder.view and prepare to unexport Holder.Fragment
2018-07-02 13:58:20 -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
Travis Turner
0dca89ca4f
Merge branch 'develop' into http-responses
2018-07-02 08:37:37 -05:00
Matt Jaffee
9ea300da20
unexport broadcaster
2018-07-02 08:34:58 -05:00
Matt Jaffee
7ec9c97e46
fixup nopAttrStore.
...
Methods no longer take pointer receiver, and NewNopAttrStore always returns a
reference to the same global object (which is no longer exported).
2018-07-02 08:30:48 -05:00
Matt Jaffee
7801b81b10
unexport cluster (gorename)
2018-07-02 07:56:51 -05:00
Travis Turner
c0b5ad316d
use constructors for errors
2018-07-01 19:54:10 -05:00
Travis Turner
8a5f5dd737
return an error when deleting a non-existent index or field
2018-07-01 19:54:09 -05:00
Travis Turner
7dd1f50a75
consolidate http errors into a shared response type
2018-07-01 19:54:09 -05:00
Matt Jaffee
ea77db895a
fix syncholder test and a few bugs
...
The http internal client's FragmentBlocks and Blockdata methods were being used
incorrectly, and incorrect respectively. One was not being passed a node URI by
monitorAntiEntropy, and the other was always using the defaultURI regardless of
what was passed to it. Antientropy was doubling not working because of this. I
think this crept in pretty recently, so hasn't actually affected anyone.
I exposed a SyncData method on Server so that we can invoke the anti entropy
task manually instead of trying to set up the interval so that it will run and
then sleeping and waiting for it to run. Now that this test works the way it
does, the other anti entropy test is obsolete, and I deleted it.
2018-06-29 14:48:13 -05:00
Travis Turner
5dd7a9556a
rename slice to shard
2018-06-28 14:07:07 -05:00
Ben Johnson
060254e0d6
Key-to-ID Translation
...
This commit adds id-to-key translation to make it easier for users
to provide non-integer identifiers for rows & columns.
2018-06-15 16:45:05 -06:00
Cody Soyland
415b4de110
Merge branch 'develop' into http-inversion-2
2018-06-13 21:38:30 -05:00
Travis Turner
7d91261968
un-export some package level constants
2018-06-13 17:18:52 -05:00
Cody Soyland
fba865fc6c
Remove more net/http references
2018-06-13 16:50:44 -05:00
Travis Turner
8021fc389b
un-export (some) Cluster methods
2018-06-13 15:42:35 -05:00
Cody Soyland
0b16a3afb9
Merge branch 'develop' into http-inversion
2018-06-12 14:49:54 -05:00
Cody Soyland
f2c104dfef
Migrate HTTP handler and client into http subpackage.
2018-06-12 13:22:40 -05:00
Travis Turner
e58d407182
unexport (most) View methods
2018-06-07 22:50:49 -05:00
Travis Turner
15cb391570
first pass at un-exporting Fragment methods
2018-06-07 11:49:39 -05:00
Travis Turner
2a9b1e9e5b
final Frame to Field rename
2018-06-06 01:27:12 -05:00
Travis Turner
cb7487e34d
change all instances of internal Frame to Field
2018-06-05 23:24:24 -05:00