Commit graph

1666 commits

Author SHA1 Message Date
Matt Jaffee
20cec1363b implement intersectionCounts for run containers 2017-06-19 10:10:57 -05:00
Matt Jaffee
014005b5d5 when choosing between container types, keep bitmap as default 2017-06-19 10:06:11 -05:00
Matt Jaffee
95b55ee7db use uint32 instead of uint16 for rle containers
stays consistent with the array type containers. array and rle are using uint32
in case we want to change the size of roaring containers as an optimization.
This has been done in the past
a8feb985e1

The downside is that more storage is used, so we may want to convert to uint16
until we decide to play with that optimization again, but for now I'll keep the
rle implementation in sync with the array implementation.
2017-06-19 10:06:11 -05:00
Matt Jaffee
98c8fd1ded rename conversion funcs to prepare for rle
also support rle in clone()
2017-06-19 10:06:11 -05:00
Matt Jaffee
e80812cb0a implement runMax 2017-06-19 10:06:11 -05:00
Matt Jaffee
72b6eb45e5 add runRemove 2017-06-19 10:06:11 -05:00
Matt Jaffee
c2203d19c1 wip on adding RLE to roaring, add, countRange, contains 2017-06-19 10:03:55 -05:00
Michael Baird
ddb4adcc47 Merge pull request #636 from raskle/429-stats-file-descriptor
Count open file handles as a StatsD metric.
2017-06-15 10:03:55 -05:00
Cody Soyland
7f17b3791d Merge pull request #635 from codysoyland/makefile-coverage
Add coverage tools to Makefile
2017-06-14 14:50:48 -04:00
Michael Baird
87f2940233 declare multiple values in the same switch case 2017-06-14 09:26:13 -05:00
Michael Baird
cd532e08cb Add -b option to lsof to avoid kernel blocks. 2017-06-13 16:14:45 -05:00
Ben Johnson
e253854945 Merge pull request #629 from benbjohnson/583-holder-open-test-coverage
Add Holder test coverage.
2017-06-12 15:48:04 -06:00
Cody Soyland
7635737487 Add coverage tools to Makefile
`make cover-viz` will now generate an HTML coverage report for the
entire codebase.
2017-06-12 15:20:26 -05:00
Cody Soyland
f970e56be8 Merge pull request #634 from codysoyland/ldflags-fix
Remove unintentional dash from LDFLAGS
2017-06-12 16:03:17 -04:00
Cody Soyland
188eaefb57 Remove unintentional dash from LDFLAGS 2017-06-12 14:21:32 -05:00
Ben Johnson
3a43a862ec
Add Holder test coverage. 2017-06-12 13:07:26 -06:00
Michael Baird
1e793a1c52 Count open file handles as a StatsD metric. 2017-06-12 13:16:19 -05:00
Travis Turner
74553d8af2 Merge pull request #627 from travisturner/pull-request-template
Add PULL_REQUEST_TEMPLATE file.
2017-06-09 17:58:16 -05:00
Cody Soyland
571d249ea1 Add contributing guide and CLA info to pull request template 2017-06-09 14:35:57 -05:00
Matthew Jaffee
4c99be6676 Merge pull request #614 from jaffee/makefile-glide-change
make sure glide is installed before `glide install`
2017-06-09 13:18:58 -05:00
Travis
472e9bd2e9
Add PULL_REQUEST_TEMPLATE file. 2017-06-09 12:56:16 -05:00
Michael Baird
25a031d5b2 Merge pull request #600 from raskle/432-memory-metrics
runtime memory metrics
2017-06-09 08:37:29 -05:00
Cody Soyland
c72c3b19b1 Merge pull request #626 from codysoyland/version-0-4-0-docs
Pilosa 0.4.0 docs updates and Homebrew installation guide
2017-06-08 17:18:36 -04:00
Cody Soyland
ca6b11342f Merge branch 'master' into version-0-4-0-docs 2017-06-08 17:18:13 -04:00
Cody Soyland
f8e0f12303 Pilosa 0.4.0 docs updates and Homebrew installation guide 2017-06-08 15:53:54 -05:00
Ben Johnson
f3990798ba Merge pull request #606 from benbjohnson/557-import-sort
Add sorting flag to import command.
2017-06-08 11:28:58 -06:00
Ben Johnson
1c34ea7f8f
Add sorting flag to import command. 2017-06-08 11:00:02 -06:00
Cody Soyland
cc0064bf1b Merge pull request #624 from codysoyland/changelog
Add CHANGELOG.md with 0.4.0 release notes.
2017-06-08 11:41:24 -04:00
Cody Soyland
5e5abfed7c Use consistent verb format in release notes 2017-06-08 09:34:21 -05:00
Cody Soyland
14d8f681ab Add notes about release. 2017-06-08 09:19:30 -05:00
Cody Soyland
a171f57159 Add CHANGELOG.md with 0.4.0 release notes. 2017-06-07 23:53:54 -05:00
Matt Jaffee
6b307f32e0 make sure glide is installed before glide install
If glide is not installed, then $(GLIDE) is empty, so I guess the $(GLIDE)
target gets ignored? The impetus for this is that `make install` was failing on
a fresh ubuntu instance saying glide wasn't found.
2017-06-07 15:12:28 -05:00
alanbernstein
757c341195 Merge pull request #587 from alanbernstein/docs-update
Document inverse=true for TopN
2017-06-07 12:51:19 -05:00
Cody Soyland
ec092df1e8 Merge pull request #605 from codysoyland/fix-test-command
Add "test" to PHONY list in Makefile.

This fixes the "make: `test' is up to date." message we are getting after "test" directory added to the repo.
2017-06-05 17:03:16 -04:00
Cody Soyland
fd2592e261 Add "test" to PHONY list in Makefile 2017-06-05 15:45:36 -05:00
Linh Vo
f066d1e125 Merge pull request #586 from linhvo/improve-test-coverage
Improve test coverage for ctl package
2017-06-05 11:03:51 -05:00
Ben Johnson
13db3237fc Merge pull request #594 from benbjohnson/fix-ipv6-test
Fix failing tests when IPv6 is disabled.
2017-06-01 19:10:59 -06:00
Travis Turner
bd9d3e9431 Merge pull request #599 from jnovinger/patch-1
Minor docs fix, indent in JSON
2017-06-01 16:07:07 -05:00
Travis
ed8bf2ecac
ensure that the sample JSON definition file is proper JSON 2017-06-01 15:59:31 -05:00
Michael Baird
47e83c31c6 capture runtime memory metrics in StatsD 2017-06-01 15:50:30 -05:00
Michael Baird
8cd8661241 Merge pull request #597 from raskle/576-handler-missing-index
BroadcastHandler handle missing index
2017-06-01 15:44:08 -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
Jason Novinger
c2e18b251d Minor docs fix
Properly indent `Fields.Mappers.Max` field in example JSON.
2017-06-01 15:14:31 -05:00
Alan Bernstein
7aeca13085 Fix typo 2017-06-01 11:10:33 -05:00
Matthew Jaffee
fa4234b04c Merge pull request #590 from jaffee/set-n-at-end
set n based on array length instead of incrementing repeatedly
2017-06-01 11:03:35 -05:00
tgruben
f4815484a7 Merge pull request #592 from tgruben/flip
add support for bit flip (negate) in roaring
2017-06-01 10:35:12 -05:00
Michael Baird
3b67f1bd92 return an error if the BroadcastHandler CreateFrameMessage encounters an Index that does not exist 2017-06-01 10:24:57 -05:00
Todd Gruben
542d748baf corrected tests to no longer use String method 2017-06-01 10:17:49 -05:00
Todd Gruben
ba2b8cd5b1 removed String method upon discovery of %v 2017-06-01 10:03:23 -05:00
Travis
879e02de81
fix misspelling and run gofmt 2017-05-31 16:22:43 -05:00