Todd Gruben
829779f550
Merge remote-tracking branch 'upstream/master' into available-shard-bug
2018-10-17 12:11:24 -05:00
Todd Gruben
30059f9e7e
force truncate of available shards file to avoid corruption
2018-10-17 12:06:54 -05:00
Ben Johnson
f8608227d1
Add DeleteAvailableShard()
...
This commit adds the ability to remove an 'available shard'
from the shard cache. This does not affect shards known to be
available because of local data.
2018-10-17 08:50:06 -06:00
Travis Turner
ee503b6ec0
remove unnecessary buffer on available shard write to file
2018-09-24 16:49:39 -05:00
Travis Turner
cdfcd6db5e
store remoteAvailableShards to file
2018-09-24 15:37:43 -05:00
Travis Turner
4f17dbdbf1
add support for Bool fields
...
prevent import of non-boolean row values to bool fields
2018-09-21 09:25:41 -05:00
Matt Jaffee
495af54c10
Merge branch 'master' into roaring-import
2018-09-13 15:50:16 -05:00
Matt Jaffee
fd655c998e
rename all instances of roaringbytes
...
function names now importRoaring and byte slice args are just called data. Also
renamed http endpoint from /importroaring to /import-roaring
2018-09-13 12:27:23 -05:00
Travis Turner
8b99414029
apply fieldName validation to index.CreateField
2018-09-11 15:14:58 -05:00
Todd Gruben
cc80e0b0e4
initial support for bulk importing standard roaring files per shard
2018-09-05 10:13:15 -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
Cody Soyland
e76c523135
Merge branch 'master' into 1517-metalinter-unconvert
2018-08-02 11:45:24 -05:00
Cody Soyland
dc50204846
Fix linter issues: unconvert
2018-07-20 11:51:55 -05:00
Cody Soyland
e9523063b5
Fix linter issues: unused
2018-07-20 10:33:29 -05:00
Cody Soyland
f01d850b17
Fix linter issues: gosimple
2018-07-20 09:06:43 -05:00
Travis Turner
a07ed360ab
add mutex field type
2018-07-19 14:01:29 -05:00
Cody Soyland
187ded0a52
Fix linter issues: maligned
2018-07-19 11:07:59 -05:00
Cody Soyland
0a9e6bca7a
Re-add return variable names removed in 2aa4d6b1.
2018-07-19 08:09:05 -05:00
Cody Soyland
2aa4d6b12f
Fix linter issues: nakedret
2018-07-18 15:23:36 -05:00
Cody Soyland
c464e0fe64
Fix linter issues: gofmt
2018-07-16 16:45:42 -05:00
Cody Soyland
3ff6851881
Unexport FieldOptions.Encode
2018-07-05 23:11:56 -05:00
Cody Soyland
5d7cb33322
Unexport Field.Logger
2018-07-05 23:11:56 -05:00
Cody Soyland
3faa51544a
Unexport Field.SetTimeQuantum
2018-07-05 23:11:56 -05:00
Cody Soyland
fc49d67c0b
Unexport Field.RecalculateCaches
2018-07-05 23:11:56 -05:00
Cody Soyland
55c0dcee23
Unexport Field.RangeBetween
2018-07-05 23:11:56 -05:00
Cody Soyland
cbf821123e
Unexport Field.MaxShard
2018-07-05 23:11:56 -05:00
Cody Soyland
16461345f6
Unexport Field.Keys
2018-07-05 23:11:56 -05:00
Cody Soyland
ba9c5193b5
Unexport Field.ImportValue
2018-07-05 23:11:56 -05:00
Travis Turner
bf2b4e9284
remove index and field MarshalJSON
2018-07-05 20:50:00 -05:00
Travis Turner
9305712237
add options.keys and lowercase names to json output
2018-07-05 18:54:53 -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
dd0e1c57bd
Merge branch 'develop' into remove-dead-code
2018-07-05 08:21:58 -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
Travis Turner
1fb8330c8c
remove some dead code highlighed by the unexport script
2018-07-04 12:27:42 -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
197f491b29
unexport ViewPath
2018-07-02 17:24:02 -05:00
Matt Jaffee
2202bf467b
unexport view stuff
2018-07-02 17:18:00 -05:00
Matt Jaffee
5a9802c3b7
get rid of test.Holder.ViewRow, replace with more restricted RowTime
2018-07-02 17:08:33 -05:00
Matt Jaffee
cff01f46c2
unexport fragment.go stuff
2018-07-02 14:50:33 -05:00
Matt Jaffee
4182678d5a
work on unexporting View stuff
2018-07-02 10:11:56 -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
935aaa96f6
Merge branch 'develop' into deadcode
2018-07-01 12:18:28 -05:00
Matt Jaffee
5766f572b1
fix skipped client TopN test
...
had to remove the first check which was for the wrong result - because maxShard
is no longer wrong since the broadcaster is actually working.
2018-06-29 12:21:33 -05:00
Matt Jaffee
6ff792c164
remove dead code (deadcode)
2018-06-29 08:12:04 -05:00
Travis Turner
e17096328d
Merge branch 'develop' into slice-to-shard
2018-06-28 15:38:40 -05:00