Commit graph

83 commits

Author SHA1 Message Date
Travis Turner
198a2910f2
set cache size to 0 if cache type is none 2019-01-25 14:51:00 -06:00
Travis Turner
7db655cb8c
fix incorrect error message 2019-01-04 08:23:19 -06:00
Yuce Tekol
81354461a0
Merge branch 'master' into 1710-suppress-std-view-on-time-fields 2018-11-21 18:44:29 +03:00
Yuce Tekol
12112e0aef
Merged with master; check for empty roaring data 2018-11-21 18:22:40 +03:00
Yuce Tekol
ac91635628
Merged with master 2018-11-21 18:16:43 +03:00
Yuce Tekol
d9c158445d
add OptFieldTypeTime comment 2018-11-21 18:12:00 +03:00
Yuce Tekol
3d54f737cd
ditch OptFieldTypeTimeWithOptions 2018-11-20 23:21:09 +03:00
Seebs
a203313143 move Logger and Stats to their own packages
I'd like to add stat tracking to Roaring, which means it
has to be able to import the stats package, which means
stats has to be a package rather than part of the pilosa
package. If stats stops being in pilosa, it still needs
a way to import logger, so logger also has to leave the
pilosa package. Then everything using them needs to import
them and use package selectors on their names.

This doesn't actually add the stats support to roaring,
it just makes it so there's a way to import the stats
code from something in the roaring package.
2018-11-15 15:10:44 -06:00
Yuce Tekol
84c04900e1
Import roaring enpoint accepts a list of views 2018-11-12 18:43:59 +03:00
Yuce Tekol
45e2951e87
fix GML warning 2018-11-08 20:48:56 +03:00
Yuce Tekol
745ec43432
fixes f.SetBit 2018-11-08 20:40:57 +03:00
Yuce Tekol
7913a419ae
adds NoStandardView field option. Fixes #1710 2018-11-08 18:33:39 +03:00
Travis Turner
5fb6ef224c
add clear support for ImportRoaring 2018-10-23 17:37:57 -05:00
Travis Turner
a7a15c64a2
support clear imports to int fields. fix bug in fragment.sum 2018-10-23 17:37:57 -05:00
Travis Turner
caf8e06712
add clear functional option for imports 2018-10-23 17:37:57 -05:00
Travis Turner
9cd0782ef1
add unprotectedSaveAvailableShards() method 2018-10-17 17:33:13 -05:00
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