Ben Johnson
8e49332b25
Add distributed tracing.
2018-11-21 15:08:33 -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
1faa789b31
remove ImportRoaringRequestView type
2018-11-21 14:53:16 +03:00
Yuce Tekol
3d54f737cd
ditch OptFieldTypeTimeWithOptions
2018-11-20 23:21:09 +03:00
Yuce Tekol
fd435f2806
Merge branch 'master' into import-cmd-field-type-flag
2018-11-20 21:19:28 +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
7913a419ae
adds NoStandardView field option. Fixes #1710
2018-11-08 18:33:39 +03:00
Yuce Tekol
27c222f02d
Refactored missing executeRequest bits; check resp is not nil
2018-11-08 17:02:07 +03:00
Yuce Tekol
f2394f6d93
lowercase error msg
2018-11-08 08:25:43 +03:00
Yuce Tekol
7b7e96bdee
Trivial
2018-11-07 18:47:15 +03:00
Yuce Tekol
8d5f76d4f4
Fixes #1697
2018-11-07 18:37:28 +03:00
Travis Turner
063caed8d1
forward imports to non-coordinator shards
2018-11-05 17:39:42 -06:00
Seebs
ce815471fe
Drop now-superfluous methodNotAllowedHandler
...
Long ago, the maintainers of gorilla/mux concluded that
it was a "wontfix" to return StatusMethodNotAllowed instead
of StatusNotFound for a method mismatch. Pilosa had a
workaround for this for the most common case (GET requests
to /index/{index}/query), and a TODO to address the other
cases.
While browsing the go-pilosa client code, I noticed that there
is a test for roaring import support which relies on getting
StatusMethodNotAllowed. But how can this work, if gorilla/mux
doesn't do that?
Answer: They started doing it in mid-2017, apparently:
https://github.com/gorilla/mux/issues/271
Dropping this code changes the exact text of the message
produced for that one case, but not the status code,
and makes the behavior less confusing.
2018-11-01 12:59:58 -05:00
Travis Turner
e69a8f3db4
handle clear flag on import roaring (http package)
2018-10-24 15:16:08 -05:00
Travis Turner
f02605a528
consolidate ImportOptions setup. use url.Values{}. fix comments.
2018-10-23 17:37:57 -05:00
Travis Turner
f29b6e79ff
add import clear test coverage to http package
2018-10-23 17:37:57 -05: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
Todd Gruben
0d189a47a2
added v2 notation
2018-10-17 17:58:52 -05:00
tgruben
96e7107870
Merge branch 'master' into fix-logger
2018-10-17 10:52:51 -05:00
Todd Gruben
0df193cf98
revert to existing api with panic per jaffee
2018-10-17 10:29:58 -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
tgruben
1895233ed8
Merge branch 'master' into fix-logger
2018-10-11 06:58:17 -05:00
Yuce Tekol
b3efa25516
Merge branch 'master' into 1637-trackexistence-by-default
2018-10-04 21:47:22 +03:00
Yuce Tekol
f89b90306b
Merge branch 'master' into 1667-update-populateValidators
2018-10-04 20:53:43 +03:00
Yuce Tekol
3539b54835
Synced query validation for handlers
2018-10-02 13:58:01 +03:00
Todd Gruben
85ebaf298d
removed logging from translate store replaced with error
2018-10-01 11:04:47 -05:00
Yuce Tekol
f7f6ff743a
index trackExistence is true by default
2018-10-01 17:45:21 +03:00
Yuce Tekol
066c3a4853
Fixes #1660
2018-10-01 14:15:51 +03: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
f943c17e0b
ImportRoaring, add remote arg, fix data copy bug
...
also, handle err properly in client method instead of discarding.
2018-09-13 15:05:05 -05:00
Matt Jaffee
b412309447
rename standard roaring to "official" throughout
2018-09-13 13:38:18 -05:00
Matt Jaffee
7b0d4d75b4
remove validators on import-roaring and test handler
...
validators are for query args, not url vars. Also some misc cleanup and error
handling in the handler.
2018-09-13 13:14:35 -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
Matt Jaffee
f006df7758
re-order ImportRoaringBytes args to be more consistent
2018-09-13 10:39:00 -05:00
Matt Jaffee
cf47950bd7
gofmt all
2018-09-12 10:06:03 -05:00
Travis Turner
9b4c67ee60
rename notnull to exists
2018-09-11 15:15:37 -05:00
Travis Turner
a433862c98
add tests for the notnull tracking
2018-09-11 15:14:57 -05:00
tgruben
5589324865
Merge branch 'master' into roaring-import
2018-09-06 16:28:38 -05:00
Todd Gruben
93e5767325
cleanup #1622
2018-09-06 16:27:10 -05:00
Todd Gruben
1d99da1f28
added support for both pilosa and standard roaring uploads
2018-09-05 10:13:15 -05:00
Todd Gruben
cc80e0b0e4
initial support for bulk importing standard roaring files per shard
2018-09-05 10:13:15 -05:00
Yuce Tekol
7b872e00cb
Implements #1570
2018-09-05 17:10:56 +03:00
Travis Turner
6b75988b71
add key translation to exports
2018-08-20 13:40:58 -05:00
Travis Turner
f1a460aca7
adds view parameter to sync logic for syncing time fields
2018-08-16 11:27:08 -05:00