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
b91da2d0a4
Merge branch 'master' into input-definition
2017-07-26 14:44:31 -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
1569c932ff
Merge branch 'master' into input-definition
2017-07-18 14:51:15 -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
Michael Baird
504d25b36f
Merge remote-tracking branch 'origin/master' into input-definition
...
Conflicts:
handler_test.go
index_test.go
2017-06-29 14:32:50 -05:00
Alan Bernstein
d96a121347
Simplify function arguments
2017-06-27 09:52:40 -05:00
Alan Bernstein
2fe21231fc
Deduplicate logfile opening code
2017-06-23 18:03:28 -05:00
Alan Bernstein
8c2d6e92c2
WIP Export Server.logger for use in server/server.go
2017-06-23 18:02:44 -05:00
Alan Bernstein
12e6b22abe
WIP replace fmt prints with logger prints and Stderr with LogOutput
2017-06-23 17:27:57 -05:00
Linh Vo
53c7e5946d
validate columnID match primaryField
2017-06-23 14:39:52 -05:00
Linh Vo
7a3baed3ac
resolve proto conflict
2017-06-22 15:20:18 -05:00
Michael Baird
23e7e42d99
Test create input definition across 2 servers
2017-06-19 13:18:20 -05:00
Michael Baird
1e793a1c52
Count open file handles as a StatsD metric.
2017-06-12 13:16:19 -05:00
Ben Johnson
ca29f7692b
Fix failing tests when IPv6 is disabled.
...
Turning off IPv6 causes the tests to fail because the Go
`net.Listen()` function obtains a `[::]` address when using
a `localhost:0` bind address. Looking through the Go source
code, I don't see a good way to fix that.
This change adds a test flag to allow users to specify the
network name when running the test:
```sh
go test github.com/pilosa/pilosa/server -network tcp4
```
2017-06-01 14:43:59 -06:00
Michael Baird
30081370a8
Merge pull request #568 from raskle/567-statsd-docs
...
StatsD documentation
2017-05-31 14:13:44 -05:00
Michael Baird
d2fbc0a08f
set long query time parameter at startup
2017-05-30 16:33:03 -05:00
Michael Baird
f822bb43e9
Remove long query time from Server. That parameter is managed in the Cluster.
2017-05-30 12:55:45 -05:00
Michael Baird
8913e2e6f4
StatsD doc fixes
2017-05-23 09:10:43 -05:00
Michael Baird
843e947ca8
changing datadog package name to stats
2017-05-19 09:54:19 -05:00
Michael Baird
b2343c5ce3
Stats uses the same logger output as the cluster
2017-05-16 10:52:10 -05: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
Travis
231cf683f0
Adjust tests to work with new DefaultPartitionN.
...
This mainly involved running `RecalculateCache()` on all fragments
in `TopN` tests. It seems these tests have been running as LRU
caches, and once we made `ranked` the default, they stopped working.
Some tests were affected by the change in partition number and
therefore the change in fragment to node mapping.
2017-05-01 23:07:41 -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
Travis
77feba689d
remove the support for . in Index and Frame names
2017-04-29 14:38:14 -05:00
Travis Turner
a1871388b0
Merge pull request #504 from travisturner/default-row-label
...
change DefaultRowLabel from `id` to `rowID`
2017-04-28 22:06:34 -05:00
Travis
0b5e058579
change DefaultRowLabel from id to rowID
2017-04-28 15:26:30 -05:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -05:00
Travis
ba455064d9
Add a test to ensure that BroadcastMessage is handling new indexes, frames, and slices
2017-04-27 11:44:14 -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
5a8c165c53
Merge remote-tracking branch 'origin/master' into metrics
...
Conflicts:
cache.go
cluster.go
db.go
executor.go
fragment.go
frame.go
gossip/gossip.go
handler.go
index.go
server.go
server/server.go
2017-04-24 16:35:25 -05:00
Alan Bernstein
5413597998
Move LongQueryTime option to cluster section of config file
2017-04-24 15:20:08 -05:00
Michael Baird
445023a04f
fixed some comments
2017-04-24 14:21:50 -05:00
Michael Baird
1dc5d6f348
handle Join error
2017-04-24 14:14:16 -05:00
Michael Baird
acc4b022d7
added Join method to Static Nodeset so that Status is calculated with the local node
2017-04-24 13:57:35 -05:00
Alan Bernstein
615c830ecc
Move LongQueryTime to Cluster
2017-04-24 11:31:50 -05:00
Travis
2ad322c2c7
Rename DB to Index
...
Rename `db.go` to `index.go` and `db_test.go` to `index_test.go`
2017-04-23 21:49:27 -05:00
Travis
2cacff8e09
Rename Index to Holder
...
Rename `index.go` to `holder.go` and `index_test.go` to `holder_test.go`
2017-04-23 15:59:20 -05:00
Ben Johnson
d34687121f
Rename bitmap/profile to row/column.
2017-04-21 21:23:24 -06:00
Alan Bernstein
6a162c4be2
Support LongQueryTime as config option
2017-04-21 18:50:25 -05:00
Michael Baird
c4334b1ac6
The server uses the stats service specified in the config
2017-04-19 17:22:00 -05:00
Travis
4c8e46e17f
change Config.Nodes to Config.Hosts
2017-04-19 10:37:00 -05:00