Commit graph

7 commits

Author SHA1 Message Date
Michael Baird
dbeec1d678 add Open/Close interface to Stats packages 2017-10-18 10:14: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
843e947ca8 changing datadog package name to stats 2017-05-19 09:54:19 -05:00
Michael Baird
1d05707026 Rename datadog/statsd_test.go to statsd/statsd_test.go 2017-05-19 09:43:38 -05:00
Michael Baird
769173c642 Rename datadog/statsd.go to statsd/statsd.go 2017-05-19 09:42:15 -05:00
Ben Johnson
a632d08629 refactor
This commit refactors the pilosa codebase. It makes several major
changes:

* Removes bitmap handles
* Removes dispatch/hold/transport
* Removes etcd dependency
* Adds consistent hash ring for slice placement
* Refactors parser/lexer
* Adds strong typing to PQL AST
* Flattens package hierarchy
2015-12-02 15:34:49 -07:00
Ben Johnson
503e5c95be flatten util into pilosa
This commit moves ID-related types and functions to the top
level package and moves remaining statsd wrapper into a `statsd`
package.
2015-09-03 14:43:34 -06:00