Yuce Tekol
48bd76b967
Removed --string-keys option from pilosa import
2018-09-05 22:58:23 +03:00
Yuce Tekol
7b872e00cb
Implements #1570
2018-09-05 17:10:56 +03: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
2f892e5e80
change string-keys DEPRECATED message to REMOVED
2018-08-15 14:55:02 -05:00
Travis Turner
6a327a26fe
add deprecation warnings for --string-keys flag
2018-08-15 10:31:27 -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
Ben Johnson
a31a08c330
Support keys on import CLI.
2018-08-14 09:32:39 -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
f01d850b17
Fix linter issues: gosimple
2018-07-20 09:06:43 -05:00
Cody Soyland
de99b5720f
Fix linter issues: vet
2018-07-19 11:37:50 -05:00
Cody Soyland
187ded0a52
Fix linter issues: maligned
2018-07-19 11:07:59 -05:00
Cody Soyland
d4510172d3
Fix linter issues: ineffassign
2018-07-18 14:02:56 -05:00
Cody Soyland
f9625ef4fa
Fix linter issues: unparam
2018-07-17 12:05:07 -05:00
Cody Soyland
eea29f664f
Unexport ctl.ImportCommand.Client
2018-07-05 23:11:56 -05:00
Cody Soyland
f9a792ea49
Unexport ctl.ImportCommand.IndexOptions
2018-07-05 23:11:56 -05:00
Cody Soyland
7185c0f791
Unexport ctl.CommandClient
2018-07-05 23:11:56 -05:00
Matt Jaffee
5ff77c816a
get rid of unecessary server stuff and export node and uri
2018-07-03 13:26:51 -05:00
Travis Turner
5dd7a9556a
rename slice to shard
2018-06-28 14:07:07 -05:00
Cody Soyland
824474160e
Enhance test utilities (introduce Cluster type, improve naming)
2018-06-28 13:34:58 -05:00
Travis Turner
22661f3571
Merge branch 'develop' into field-options
2018-06-28 10:20:17 -05:00
Matt Jaffee
9998eda3d4
remove Server.Addr - use URI instead
2018-06-27 13:37:08 -05:00
Travis Turner
028e95d914
Allow a single functional option for field options.
...
Move field type specific validation to functional options.
2018-06-26 10:37:56 -05:00
Travis Turner
50794bf63b
move fieldOptions unmarshal to the handler
...
validate fieldOptions in http package
2018-06-25 15:14:22 -05:00
Matt Jaffee
8878b02345
cleanup - address review feedback
2018-06-25 11:08:00 -05:00
Matt Jaffee
6093064ac0
remove unecessary test and convert import test
2018-06-22 16:26:45 -05:00
Matt Jaffee
5d28d2dc31
skip new tests which use test.NewServer
2018-06-22 13:00:52 -05:00
Matt Jaffee
7a5adf7428
Merge branch 'develop' into wip-api-refactor
2018-06-22 12:46:19 -05:00
tgruben
4b72489997
Merge branch 'develop' into crash-value-overwrite
2018-06-21 20:10:54 -05:00
Todd Gruben
643e5e575a
fixed crashing issue that was not handling container removal/recycling correctly
2018-06-21 18:39:06 -05:00
Cody Soyland
e2512ec58d
Use test.MustRunMainWithCluster in ctl tests
2018-06-21 16:26:34 -05:00
Cody Soyland
c6db3974bc
WIP API refactor
2018-06-21 13:51:31 -05:00
Todd Gruben
aac2397949
enforced Accept for json response endpoints
2018-06-20 13:13:46 -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
daffa3b125
Rename InternalHTTPClient -> InternalClient
2018-06-13 09:04:04 -05:00
Cody Soyland
f2c104dfef
Migrate HTTP handler and client into http subpackage.
2018-06-12 13:22:40 -05:00
Travis Turner
2a9b1e9e5b
final Frame to Field rename
2018-06-06 01:27:12 -05:00
Travis Turner
6dbe80350f
GoRename Frame to Field in client.go
2018-06-05 23:02:15 -05:00
Travis Turner
3531c128c4
GoRename Frame to Field in index.go
2018-06-05 22:33:48 -05:00
Travis Turner
1d3c4d6fcb
first pass at GoRename Frame to Field in frame.go
2018-06-05 17:52:22 -05:00
Travis Turner
80d656ae9c
final removal of field instances
2018-06-05 16:56:16 -05:00
Travis Turner
96208283df
remove final instances of Field
2018-06-05 16:38:29 -05:00
Travis Turner
0d44e586cc
remove field flag from pilosa import command
2018-06-05 16:14:26 -05:00
Travis Turner
2111a3d521
more Field removal/rename
2018-06-05 11:13:51 -05:00
Travis Turner
dbb4cdf390
adjust the tests to match the new unexported Field and FrameOptions
2018-06-04 14:45:28 -05:00
Matt Jaffee
c1c89b9ef8
fix generate-config command, use single toml lib
...
The generate-config command was printing a fixed string rather than calling
NewConfig() which is the canonical source for default config. I also noticed
that we were depending on two different toml libraries, and so collapsed that to
a single one. We have to use pelletier rather than BurntSushi because the viper
library that we use depends on pelletier.
2018-06-01 09:21:38 -05:00
Yuce Tekol
b3a4d02522
Merge branch 'develop' into 1342-remove-bench
2018-06-01 03:41:51 +03:00
Yuce Tekol
164b7619aa
Removes bench command
2018-05-30 16:40:21 +03:00