Matthew Jaffee
d34f3354bb
Merge pull request #1200 from jaffee/1170-global-defaults
...
remove global defaults from config.go
2018-04-15 17:59:21 -05:00
Matthew Jaffee
7233597f35
remove DefaultConfig global (only used once). Fix data-dir comment
2018-04-15 17:20:14 -05:00
Matthew Jaffee
de29ddbb25
Merge pull request #1198 from jaffee/writerto-fix
...
use io.WriterTo instead of custom
2018-04-13 12:46:46 -05:00
Matthew Jaffee
0c35094bfc
few more docs tweaks
2018-04-13 10:21:47 -05:00
Yuce Tekol
8fb4df96a4
Merge pull request #1189 from yuce/1187-index-required-for-fragment-nodes
...
[TRIVIAL] index param is required for /fragment/nodes
2018-04-13 04:28:31 +03:00
Matthew Jaffee
3f303d1098
remove global defaults from config.go
...
these were occaisionally referenced elsewhere in the codebase - in all but one
case, there were workarounds that are actually better I think.
In the one case there wasn't I created a single top level DefaultConfig object
which is instantiated with all the default values and can be referred to if
necessary.
There was a bug in fragment.go with the way MaxWritesPerRequest was treated if
it was 0. Elsewhere, 0 meant no limit, but here, it would have caused a division
by 0.
Changed the default metrics provider from "nop" to "none", although "nop" will
still work. Previously, any value other than "statsd" or "expvar" was treated as
"nop", but I've changed this behavior to return an error if an invalid string is
provided. I think this is better behavior, because in the case that someone
bothered to change the default, they were probably interested in actually
getting stats, and might be annoyed when it silently failed.
2018-04-12 19:52:48 -05:00
Yuce Tekol
3695a8e889
Updated with master
2018-04-13 03:50:26 +03:00
Yuce Tekol
cde6082869
Merge branch 'master' into 1187-index-required-for-fragment-nodes
2018-04-13 03:43:17 +03:00
Yuce Tekol
e6dbdcb836
Merge pull request #1188 from yuce/tutorial-update
...
Updated tutorials
2018-04-13 03:42:36 +03:00
Yuce Tekol
a04ae99fb3
updated cluster tutorial with feedback
2018-04-13 03:41:59 +03:00
Matthew Jaffee
8ec801a732
use io.WriterTo instead of custom
2018-04-12 16:37:49 -05:00
Matthew Jaffee
4343214001
Merge pull request #1197 from jaffee/handler-api-refactoring
...
Handler api refactoring
2018-04-12 12:56:32 -05:00
Matthew Jaffee
04f5d5875c
api docs, rename funcs, refactor usage of internal
...
All exported funcs in api.go are now documented
Several poorly named methods of API and Cluster were renamed. Particularly, the
word Fragment was often changed to Slice in cases where it was really a slice
being specified and not a fragment.
several methods which received or returned internal data structures have been
refactored to be more opaque.
Deprecation logging was added to input definition methods.
2018-04-12 11:28:35 -05:00
Matthew Jaffee
9257029da5
simplify Status endpoint
...
had to update test which was relying on a fake ClusterStatus implementation. Now
the status endpoint uses information directly from Cluster.Nodes and
Cluster.state - which is what Server (the usual ClusterStatus impl) uses, so it
should make no difference for real clusters.
2018-04-11 14:25:02 -05:00
Matthew Jaffee
9daef2180c
rename a number of API methods
2018-04-11 13:49:51 -05:00
Travis Turner
ea2921c192
Merge pull request #1192 from travisturner/inverse-slice-on-remote
...
make sure that slices is treated as inverseSlices on inverse calls
2018-04-11 13:30:51 -05:00
Matthew Jaffee
feec5f07e1
add more doc comments to api
2018-04-11 13:30:35 -05:00
Travis Turner
0d27139c04
test the inverseSlice fix
2018-04-11 12:51:26 -05:00
Matthew Jaffee
07ca6d57ad
variety of cleanup in api and handler
...
don't export QueryValidationSpecRequired
add docs to some methods
simplify /debug/vars handling using expvar.Handler()
implement Version in API and simplify
2018-04-11 09:42:05 -05:00
Travis Turner
3d595e6966
make sure that slices is treated as inverseSlices on inverse calls
2018-04-11 08:25:43 -05:00
Matthew Jaffee
dd5b38f4ef
Merge pull request #1190 from jaffee/1151-http-refactor
...
1151 http refactor
2018-04-10 10:55:10 -05:00
Matthew Jaffee
401c9682b8
remove commented code and fix double-NewAPI
2018-04-10 09:40:28 -05:00
Matthew Jaffee
07610560df
Merge branch 'master' into 1151-http-refactor
2018-04-10 08:10:25 -05:00
Matthew Jaffee
96e953e6e0
rename var to be more descriptive
2018-04-09 16:42:50 -05:00
Matthew Jaffee
f8cb579187
get tests passing
2018-04-09 14:29:43 -05:00
Yuce Tekol
6d3f079b7a
updated row/col labels in getting started
2018-04-06 17:34:46 +03:00
Yuce Tekol
cc521e5c91
index param is required for /fragment/nodes
2018-04-05 22:29:03 +03:00
Yuce Tekol
81cac4775f
fix cluster config link
2018-04-05 19:53:05 +03:00
Yuce Tekol
17468e7d90
Updated tutorials
2018-04-05 19:43:40 +03:00
Travis Turner
1764d5a9bf
Merge pull request #1180 from travisturner/remove-rowcol-labels
...
Remove rowcol labels
2018-04-03 22:37:59 -05:00
Matthew Jaffee
be4965d962
fixup logger, handler.FileSystem
2018-04-03 16:09:11 -07:00
Yuce Tekol
c36dd395e6
All tests pass
2018-04-03 15:20:33 -07:00
Yuce Tekol
8336784d57
More API updates; removed Cluster, Holder, etc from Handler
2018-04-03 15:01:36 -07:00
Yuce Tekol
72526f753c
Moved more of handler to API
2018-04-03 14:52:59 -07:00
Yuce Tekol
b702f70610
Moved more of handler to API
2018-04-03 14:34:40 -07:00
Yuce Tekol
2ebc1914be
More API functions
2018-04-03 14:34:39 -07:00
Yuce Tekol
6c3f3ac0f0
Added API struct; moved query logic to API
2018-04-03 13:41:15 -07:00
Cody Soyland
298047903a
Merge pull request #1186 from codysoyland/fix-prerelease
...
Fix syntax on conditional check for docker-build config
2018-04-03 11:33:45 -05:00
Cody Soyland
0bf5f089a0
Run prerelease on Go 1.10
2018-04-03 11:25:54 -05:00
Cody Soyland
4b0da099b5
Fix syntax on conditional check for docker-build config
2018-04-03 11:09:49 -05:00
Travis Turner
ce4fb3c4d3
remove references to rowLabel and columnLabel
2018-04-03 10:36:48 -05:00
Cody Soyland
ba7720b4dd
Merge pull request #1181 from codysoyland/1146-makefile-cleanup
...
Makefile cleanup
2018-04-03 08:44:37 -05:00
Cody Soyland
ba9c26e689
Code review fixes: Create build directory if it doesn't exist. Use better URL for protoc installation instructions.
2018-04-02 16:39:14 -05:00
Cody Soyland
7f0208defb
Merge pull request #1185 from codysoyland/cluster-resize-webui-fixes
...
WebUI fixes for compatibility with API changes
2018-04-02 14:59:11 -05:00
Travis Turner
e3cd03d902
move rowLabel and columnLabel constants to executor.go
2018-04-02 13:05:37 -05:00
Travis Turner
083b730536
Merge pull request #1178 from travisturner/logger
...
Clean up logger; make it honor --log-path flag.
2018-04-02 11:48:17 -05:00
Travis Turner
fb3a2b8b03
Merge pull request #904 from pilosa/cluster-resize
...
WIP: Cluster Resize
2018-03-30 16:12:33 -05:00
Travis Turner
421aff999b
Merge branch 'master' into cluster-resize
2018-03-30 15:54:32 -05:00
Cody Soyland
14dd54cc73
WebUI fixes to accommodate API changes
2018-03-29 15:50:53 -05:00
Cody Soyland
d59d20d27b
Redundant chmod
2018-03-29 10:34:34 -05:00