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
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
Travis Turner
177f25ee44
Add tests for importing value with column keys into integer fields.
...
Fix a bug in protofuf decoding of pilosa.Row.
2018-08-15 16:00:32 -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
f547cf48ce
change t.Fatal() to t.Fatalf()
2018-08-15 15:36:55 -05:00
Travis Turner
1deb42a24a
adjust test to allow time for translation replication
2018-08-15 15:15:51 -05:00
Travis Turner
862dabe27d
address review comments
2018-08-14 14:37:51 -05:00
Travis Turner
0a6f0e92d8
add tests to cover the coordinator logic for multi-node clusters
2018-08-14 13:58:37 -05:00
Travis Turner
fd96d3a02e
This commit ensures that keyed imports are sent to the coordinator
...
node (as opposed to sending to shard0, which may or may not be the
coordinator). It adds a `Nodes()` method to the `InternalClient`
which is used by the importer to determine which node is the
coordinator.
2018-08-14 12:34:17 -05:00
Travis Turner
1feebc890b
fix outdated test
2018-08-14 09:32:40 -05:00
Ben Johnson
a31a08c330
Support keys on import CLI.
2018-08-14 09:32:39 -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
Cody Soyland
f6855fac62
Remove unused newMockReadCloser
2018-08-02 10:59:16 -05:00
Cody Soyland
dd7b5f517b
Merge branch 'master' into 1513-metalinter-megacheck
2018-08-02 10:29:47 -05:00
Cody Soyland
495b4259fd
Skip flawed translator test
2018-08-01 10:57:56 -05:00
Cody Soyland
c44bb65163
Add more time to sleep in translator tests due to CI failures
2018-07-31 20:39:05 -05:00
Travis Turner
2dd655f0e9
move sleep to be after replica sync
2018-07-31 16:01:42 -05:00
Cody Soyland
68dc6489ce
Merge branch 'master' into translate-cluster-fix
2018-07-31 15:13:31 -05:00
Cody Soyland
ba3bda6ac2
Use string prefix instead of equality so json error message will pass on all Go versions
2018-07-31 14:16:17 -05:00
Cody Soyland
39a82091f2
Add sleep in tests to ensure writes make it to translate store
2018-07-31 14:11:24 -05:00
Travis Turner
ac8f8aa2e4
remove incorrect mock implementation from tranlate test
2018-07-30 11:45:34 -05:00
Travis Turner
3ffafaca4a
ignore remote translation
2018-07-30 11:45:34 -05:00
Cody Soyland
990780bd93
Fix linter issues: staticcheck (covered by megacheck, along with gosimple and unused)
2018-07-20 11:19:24 -05:00
Cody Soyland
e9523063b5
Fix linter issues: unused
2018-07-20 10:33:29 -05:00
Cody Soyland
ba0384fb52
Merge branch 'master' into 1521-metalinter-vet
2018-07-19 15:41:28 -05:00
Cody Soyland
83372c0509
Merge branch 'master' into index-options-json
2018-07-19 15:37:08 -05:00
Cody Soyland
23e2961d65
Add field labels to struct literals
2018-07-19 14:49:50 -05:00
Cody Soyland
29eba09e1e
Add IndexOptions to IndexInfo json response
2018-07-19 14:11:14 -05:00
Travis Turner
a07ed360ab
add mutex field type
2018-07-19 14:01:29 -05:00