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
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
Cody Soyland
de99b5720f
Fix linter issues: vet
2018-07-19 11:37:50 -05:00
Cody Soyland
0a9e6bca7a
Re-add return variable names removed in 2aa4d6b1.
2018-07-19 08:09:05 -05:00
Cody Soyland
3ca51989c2
Merge branch 'master' into 1515-metalinter-nakedret
2018-07-19 07:52:58 -05:00
Cody Soyland
2aa4d6b12f
Fix linter issues: nakedret
2018-07-18 15:23:36 -05:00
Cody Soyland
0b86bbb4f5
Fix linter issues: gochecknoinits
2018-07-18 11:58:27 -05:00
Cody Soyland
a962a0c526
Fix linter issues: deadcode
2018-07-17 17:17:42 -05:00
Cody Soyland
486edbec43
Merge branch 'master' into 1511-metalinter-interfacer
2018-07-17 13:41:11 -05:00
Cody Soyland
573ec91fc2
Fix linter issues: interfacer
2018-07-17 12:36:02 -05:00
Cody Soyland
f9625ef4fa
Fix linter issues: unparam
2018-07-17 12:05:07 -05:00
Matt Jaffee
c2c1910671
fix comment typos
2018-07-10 16:38:55 -05:00
Matt Jaffee
b7e5f8842e
add a configurable timeout to http handler closing
...
refactor handler Close func to use errgroup to be a bit less messy.
refactor pilosa.Server closing to actually return an underlying error if one occurs
add option to pilosa/test.Cluster and pilosa/server.Command to control close
timeout. currently is only used by the http handler, but conceivably could be
passed as a parameter to other subsystems of pilosa/server.Command
2018-07-10 15:16:35 -05:00
Cody Soyland
55d13d869f
Unexport http.TranslateStore
2018-07-05 23:11:56 -05:00
Cody Soyland
04417d870d
Unexport http.QueryResultTypeValCount
2018-07-05 23:11:56 -05:00
Cody Soyland
9a708234c8
Unexport http.QueryResultTypeNil
2018-07-05 23:11:56 -05:00
Cody Soyland
88b45edd7c
Unexport http.QueryResultTypeBool
2018-07-05 23:11:56 -05:00
Cody Soyland
ab26a1be4b
Unexport http.NewRouter
2018-07-05 23:11:56 -05:00
Cody Soyland
e460a58bfa
Unexport http.InternalClient.HTTPClient
2018-07-05 23:11:56 -05:00
Cody Soyland
a3bd753cfa
Unexport http.HandlerOption
2018-07-05 23:11:56 -05:00
Cody Soyland
46e40f71e4
Unexport http.Handler.AllowedOrigins
2018-07-05 23:11:56 -05:00
Cody Soyland
0a2b482945
Unexport http.Handler.Logger
2018-07-05 23:11:56 -05:00
Cody Soyland
47c402c123
Unexport http.Error.Code
2018-07-05 23:11:56 -05:00
Cody Soyland
b4011778dd
Unexport APIOption, b.BTCIterator, API.Holder, API.Serializer, APIOption, http.Handler.API
2018-07-05 23:11:56 -05:00
Cody Soyland
5a39008856
Merge branch 'develop' into 1126-internal-server-err
2018-07-05 20:50:24 -05:00
Travis Turner
c10cdc9d22
exclude views from http schema output
2018-07-05 19:15:34 -05:00
Matt Jaffee
7873126720
handle errors a bit better in handlePostQuery
2018-07-05 18:39:25 -05:00
Matt Jaffee
d032c8941f
Merge branch 'develop' into dead-code-removal
2018-07-05 18:02:39 -05:00
Matt Jaffee
21cf6b6e57
remove URI getters since the fields were exported for serialization
2018-07-05 17:59:18 -05:00
Matt Jaffee
0a94d2f10d
Merge branch 'develop' into core-structs
2018-07-05 16:38:14 -05:00
Matt Jaffee
db2a53223d
remove internal references from api and http/*
2018-07-05 16:02:18 -05:00
Cody Soyland
da4cd84820
Remove some dead code
2018-07-05 15:31:07 -05:00
Matt Jaffee
e76a90e69b
change Query and QueryNode to use pilosa.* Query structs
2018-07-05 15:02:33 -05:00
Matt Jaffee
59e80f9692
put Serializer on API, add QueryRequest/Response to serializer
2018-07-05 13:35:14 -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
bae5ee36ef
add support for OptFieldKeys() to http field creation
2018-07-04 22:24:05 -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
Matt Jaffee
5ff77c816a
get rid of unecessary server stuff and export node and uri
2018-07-03 13:26:51 -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
a6a0c6a7c3
unexport Holder.view and prepare to unexport Holder.Fragment
2018-07-02 13:58:20 -05:00