Commit graph

2517 commits

Author SHA1 Message Date
Yuce Tekol
25e244ebdf
Updates 2018-02-22 17:33:41 +03:00
Yuce Tekol
0417439afa
Validate all relevant endpoints; Changed how validation key is composed 2018-02-21 18:03:05 +03:00
Yuce Tekol
c1f9dd4e59
Added query arg validator middleware; updated Gorilla/mux 2018-02-20 15:38:58 +03:00
Yuce Tekol
8e6041d0fe
Validate /fragment/nodes arguments. Fixes #652 2018-02-19 13:55:19 +03:00
Travis Turner
6374fedd7a
Merge pull request #1115 from travisturner/roaring-test-templates
Roaring test templates
2018-02-15 12:57:16 -06:00
Travis Turner
685a0075ae
add evenBits/oddBits container tests and related bug fix 2018-02-15 10:20:54 -06:00
Travis Turner
911af238ff
clean up roaring container helper functions 2018-02-14 15:06:53 -06:00
Travis Turner
673232baf9
bug fixes found by running container operation tests 2018-02-14 13:30:38 -06:00
Travis Turner
6529866b57
templates for testing various container operations 2018-02-14 13:30:07 -06:00
Travis Turner
5b95c04594
Merge pull request #1110 from travisturner/bitmapzerorange-bug
fixes a shift logic bug in bitmapZeroRange
2018-02-12 16:17:01 -06:00
Travis Turner
944a0b5b3d
fixes a shift logic bug in bitmapZeroRange that was causing an overflow-like condition 2018-02-12 15:23:00 -06:00
Yuce Tekol
72b2b77ea5
Merge pull request #1104 from yuce/1092-context-replacement
[TRIVIAL] 1092 context replacement
2018-02-12 22:00:43 +03:00
Travis Turner
7f2e521579
Merge pull request #1091 from travisturner/metrics-docs
clarify the options in configuration for metrics.service
2018-02-12 09:16:16 -06:00
Yuce Tekol
657ff05e88
fix format strings which fail on go/master 2018-02-12 17:28:49 +03:00
Yuce Tekol
e2c2bd11e4
put back golang.org/x/net dep, required by golang.org/x/sync/errgroup 2018-02-12 17:16:38 +03:00
Travis Turner
279906a03b
Merge pull request #1108 from travisturner/docs-request-response
add request/response tags to the docs
2018-02-09 17:25:55 -06:00
Travis Turner
db7e88f6d5
add request/response tags to the docs 2018-02-09 15:14:26 -06:00
Travis Turner
9e9a9f5ab3
Merge pull request #1105 from travisturner/fix-diffrunarray-overflow
avoid overflow bug in differenceRunArray
2018-02-09 11:57:11 -06:00
Travis Turner
ac4010bce0
avoid overflow bug in differenceRunArray which was appending a full run to the container 2018-02-09 11:35:13 -06:00
Yuce Tekol
a2580915ba
remove golang/org context from the lock 2018-02-09 17:34:18 +03:00
Yuce Tekol
f799d98564
Fixes #1092 2018-02-09 17:33:07 +03:00
tgruben
46ca04afab
Merge pull request #1081 from tgruben/hash-1049
Hash 1049
2018-02-08 11:44:37 -06:00
Travis Turner
5529040514
clarify the options in configuration for metrics.service 2018-02-07 11:29:58 -06:00
Matthew Jaffee
141fdd1db9
Merge pull request #1084 from jaffee/1082-onto-master
fix count/bitmap mismatch bug on master
2018-02-06 16:58:41 -06:00
Travis Turner
5a44d24c2f
Merge pull request #1080 from travisturner/ensure-license
ensure that the license header is included in all source files
2018-02-06 15:58:38 -06:00
Cody Soyland
e9bd1c7f0d Add license notice to two files 2018-02-06 14:15:37 -06:00
Travis Turner
7db29aa1a7
Merge pull request #1087 from travisturner/fix-env-docs
fix description of ENV var configuration to include dot replacement
2018-02-06 13:00:01 -06:00
Travis Turner
19008d0ff0
fix description of ENV var configuration to include dot replacement 2018-02-06 12:22:51 -06:00
Yuce Tekol
1a8bd8bcf4
Merge pull request #1086 from yuce/take-back-getting-started-frame-options
Takes back frame options in getting started docs
2018-02-06 20:41:23 +03:00
Yuce Tekol
90b69fd413
remove inverseEnabled 2018-02-06 20:39:52 +03:00
Yuce Tekol
793faa0d0e
Remove inverse-enabled 2018-02-06 20:38:51 +03:00
Yuce Tekol
5274ef01cc
Takes back frame options in getting started docs 2018-02-06 20:35:41 +03:00
Todd Gruben
a01a64aec5 remove unneeded dep 2018-02-06 10:51:03 -06:00
Matthew Jaffee
cc8733eedb
fix bug where a count query and bitmap query could return different numbers
There was a case where the Bitmap iterator logic could skip over a bit in a run
container if 1. the run container was not the first container in the bitmap, and
2. The first run in the run container had only one bit.

The bug was due to how the iterator was initialized with iterator.Seek(0) which
sets up the initial values of itr.i,j,k based on the type of the first
container. It was failing to set itr.k to -1 unless the first container was an
RLE container. itr.k is only used by RLE containers in the iterator, and must be
set to -1 when an RLE container is encountered. When Iterator.Next() encountered
the run container and itr.k was set to 0, it checked to see if itr.k <= run.last
- run.first, and if so it assumes that it was finished with the run and moved to
the next one. run.last - run.first is 0 in the case of a single bit run, so that
bit was skipped. After this, itr.k is set to -1 and all further iteration
proceeds as expected.
2018-02-06 10:26:17 -06:00
Todd Gruben
eca01e4b4f replace sha1 hash with faster xxhash 2018-02-06 08:51:38 -06:00
Todd Gruben
784b0e8c55 Merge remote-tracking branch 'upstream/master' 2018-02-06 08:29:58 -06:00
Travis Turner
668689e119
ensure that the license is prepended to all source files 2018-02-05 16:35:28 -06:00
Cody Soyland
902a2daf76
Merge pull request #1078 from codysoyland/diagnostics-build-constraint
Enable diagnostics via build constraint to prevent from running in tests
2018-02-05 08:55:31 -06:00
Cody Soyland
6756d97089 Enable diagnostics via build constraint to prevent from running in tests 2018-02-02 17:32:14 -06:00
alanbernstein
0dee49279c
Merge pull request #1075 from alanbernstein/readme-question-link
Link to usage question issue
2018-01-29 13:57:47 -06:00
Alan Bernstein
8625c2fcdb Update wording 2018-01-29 13:44:43 -06:00
Alan Bernstein
73e0b67aee Link to usage question issue 2018-01-29 12:15:29 -06:00
Travis Turner
c6ed7345c7
Merge pull request #1068 from travisturner/node-status-mutex
add lock around Node.status to avoid race condition
2018-01-24 23:06:45 -06:00
Todd Gruben
717530f007 merge 2018-01-24 18:37:30 -06:00
Travis Turner
878b188155
add accessor method for Node.status 2018-01-24 17:03:58 -06:00
Travis Turner
88fa51e6bf
add lock around Node.status to avoid race condition 2018-01-24 16:03:36 -06:00
Yuce Tekol
ee503c455a
Merge pull request #1056 from yuce/1045-use-multinode-cluster-in-tests
Uses NewServerCluster method in tests
2018-01-23 19:12:25 +03:00
Travis Turner
953e2ea42f
Merge pull request #1063 from travisturner/import-keys
WIP: Modify `pilosa import` to support string rows/columns
2018-01-22 18:05:47 -06:00
Travis Turner
5fa7dfd63d
allow for QueryResultTypeNil 2018-01-22 18:04:41 -06:00
Travis Turner
d8559ae469
refactor to remove BitK (in favor of Bit) 2018-01-22 15:35:10 -06:00