Travis Turner
1cc45b22a2
Change Config.Coordinator from URI to bool
2018-03-08 12:42:24 -06:00
Cody Soyland
3bba35236f
Add back example settings
2018-02-23 11:16:19 -06:00
Cody Soyland
a23fe86839
Convert gossip seed string to slice
2018-02-22 13:14:45 -06:00
Travis Turner
9085c03ce8
Changes configuration cluster.type (string) to cluster.disabled (bool)
2018-02-08 12:40:46 -06:00
Travis Turner
d2d0756f4a
Define default config values for pilosa server in NewConfig rather than
...
flags. Based on work done in #885 .
2017-12-15 15:07:02 -06:00
Travis Turner
78cddbd0c7
Add the rest of the available memberlist configuration options
...
into pilosa.Config.Gossip.
2017-12-15 12:37:51 -06:00
Travis Turner
c9886b049b
Merge branch 'master' into cluster-resize working branch.
2017-12-04 22:18:57 -06:00
Cody Soyland
8c0d1ece55
Remove "plugins.path" configuration option
...
According to Todd, the current plugin direction is static and there is no need for dynamic loading, so this option is no longer needed.
2017-11-08 11:46:23 -06:00
Travis Turner
e641aa1d8a
Merge branch 'master' into 'cluster-resize'
2017-11-07 15:00:11 -06:00
Michael Baird
17da0443d3
Merge pull request #895 from raskle/diagnostics
...
Diagnostics
2017-11-06 11:30:38 -06:00
Travis Turner
2bd0677df9
Remove MaxSlice polling.
...
Add Schema to proto.
Update MaxSlices in proto to include both standard and inverse.
Update LocalStatus (shared in gossip) to include MaxSlices and Schema.
Encode InputDefinitions with Index.
TODO:
- make sure InputDefinitions are considered in LocalStatus merge.
- decide what to do about `/slices/max` endpoint. client.backup is using
it.
2017-10-26 23:48:40 -05:00
Travis Turner
a8871ada6a
Convert Host to URI.
...
Fix all compile errors.
2017-10-25 11:52:55 -05:00
Travis
f1e3ac90d4
Determine cluster membership via gossip.
...
Handle resize cluster events.
Add Toplogy support.
Refactor FrameOptions.
Add tests.
2017-10-25 00:27:30 -05:00
Michael Baird
c14f72b66a
changed the diagnostics configuration option to a boolean
2017-10-24 10:40:21 -05:00
Michael Baird
8b4d2d6c85
Config option for diagnostics interval. Default to 1 hour
2017-10-18 10:26:27 -05:00
Yuce Tekol
eec739c331
Adds gossip encryption key; copies Config.Gossip{Port,Seed} to Config.Gossip.{Port,Seed}, deprecates --gossip-port and --gossip-seed. Use --gossip.port and --gossip.seed
2017-10-13 13:30:41 +03:00
Yuce Tekol
65ad94c376
clusters with https + self signed certificates work (using --tls.skip-verify)
2017-10-10 04:48:15 +03:00
Yuce Tekol
3501732b19
https with signed certificates work
2017-10-08 21:11:19 +03:00
Yuce Tekol
1bedfd6585
use URI instead of host
2017-10-04 08:20:00 +03:00
Yuce Tekol
5760d89742
Initial TLS support
2017-10-02 15:53:50 +03:00
Travis
c4a4f0dcc4
don't normalize bind address after all, just have it use defaults when necessary
2017-08-07 08:25:35 -05:00
Travis
fcb311389e
added pilosa.NormalizeAddress() to address variations in the bind configuration
2017-08-07 08:25:35 -05:00
Travis
a3b1b2ee1a
DefaultClusterType = ClusterGossip
...
This commit removes the `httpbroadcast` NodeSet, sets the default cluster type
to `gossip`, and uses the `static` cluster type for most test cases.
2017-08-07 08:25:35 -05:00
Travis
b6896482b9
move InternalPort config option out from under cluster and up to the root of Config
2017-07-24 17:28:23 -05:00
Michael Baird
cfedda29ef
Added Duration tests
2017-07-12 09:07:38 -05:00
Michael Baird
4b53ec1f9c
const cluster types, and more validation tests
2017-07-11 14:17:06 -05:00
Michael Baird
baff53ae3d
config test and validate
2017-07-11 11:31:27 -05:00
Linh Vo
6a50427629
rename Config's fields
2017-07-10 13:34:10 -05:00
Linh Vo
95166fd0ee
revert config and fix json tag
2017-07-10 11:28:32 -05:00
Linh Vo
e3090cb0c3
update doc for configuration
2017-07-07 15:12:16 -05:00
Linh Vo
cda46245d8
update config to match with json tag
2017-07-07 12:04:49 -05:00
Michael Baird
b0f8d5d8f9
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
cmd/server.go
ctl/config.go
2017-05-23 10:07:44 -05:00
Ben Johnson
788386b49a
Implement 'config' CLI command.
...
Renames `config` to `generate-config` and implements a new `config`
command that generates the configuration file based on the current
state instead of printing a static string.
2017-05-22 09:30:14 -06:00
Michael Baird
bd44949cb5
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
config.go
executor_test.go
server/server.go
2017-05-09 11:31:14 -05:00
Michael Baird
bf6ed942f0
Merge pull request #8 from alanbernstein/stats
...
Stats
2017-05-09 11:15:23 -05:00
Ben Johnson
e3d6f96657
Add max-writes-per-requests limit.
...
A configurable limit has been added to restrict the number of
mutating calls in a `pql.Query`. This is to prevents requests from
timing out from large queries.
The default is set to 5000 writes per request and is configurable
through the configuration file and the command line flags.
2017-05-03 08:53:20 -06:00
Michael Baird
06665d048d
missing comments
2017-05-01 11:04:53 -05:00
Michael Baird
ee159b455d
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
.gitignore
cluster.go
frame.go
glide.lock
index.go
2017-05-01 10:41:04 -05:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -05:00
Michael Baird
d2a7869142
comment cleanup
2017-04-25 16:40:39 -05:00
Michael Baird
66496a73d7
additional comments for config
2017-04-25 13:57:20 -05:00
Michael Baird
e699c55700
fixed conflicts from the db index change
...
Conflicts:
cluster.go
executor_test.go
handler_test.go
server.go
2017-04-25 11:47:29 -05:00
Michael Baird
a543ba21bb
fixed DB to index conflicts after merge
2017-04-24 21:59:39 -05:00
Alan Bernstein
5413597998
Move LongQueryTime option to cluster section of config file
2017-04-24 15:20:08 -05:00
Alan Bernstein
6a162c4be2
Support LongQueryTime as config option
2017-04-21 18:50:25 -05:00
Michael Baird
6f1e3c9275
add stats metric options to config
2017-04-19 16:51:55 -05:00
Travis
4c8e46e17f
change Config.Nodes to Config.Hosts
2017-04-19 10:37:00 -05:00
Travis
b4a69be751
Add support for Node.InternalHost.
...
This was required for the HTTPBroadcaster to run locally on different InternalPorts.
2017-04-19 10:37:00 -05:00
Matt Jaffee
d10d8d94e1
simplify config structure - remove gossip sub-struct
2017-04-19 10:36:28 -05:00
Matt Jaffee
0da580d0e9
change broadcaster-type to type
...
It is nested under "cluster" in the config, and it controls cluster membership
as well as broadcasting, so I think type is more appropriate. Also, brevity.
2017-04-19 10:36:28 -05:00