Commit graph

3762 commits

Author SHA1 Message Date
Travis Turner
0757a84f69
add PutContainerValues to Containers interface to prevent re-allocation of containers 2018-02-07 13:56:57 -06:00
Travis Turner
0bed8de647
vendor btree in roaring package to test non-interface on key/value 2018-02-07 13:56:57 -06:00
Todd Gruben
3ae10fbd95
snapshot benchmarking 2018-02-07 13:56:57 -06:00
Travis Turner
e0fc49b512
reset lastContainer cache on Put to a mapped container. check lastContainer cache on Get 2018-02-07 13:56:57 -06:00
Travis Turner
ce052c133c
b+tree for Containers interface 2018-02-07 13:56:57 -06:00
Matthew Jaffee
fab493c42b
fix up missed conflict 2018-02-07 13:56:57 -06:00
Matthew Jaffee
5314d61086
Revert "remove interface"
This reverts commit 343e810bc65562d10d9408c941e65414c6945d9f.
2018-02-07 13:56:57 -06:00
Matthew Jaffee
be4696ebb9
remove interface 2018-02-07 13:56:56 -06:00
Matthew Jaffee
a42a1a2c37
make sure roaring.Bitmaps are created appropriately 2018-02-07 13:56:56 -06:00
Matthew Jaffee
d798963798
fix a bunch of bugs and add some tests 2018-02-07 13:56:56 -06:00
Matthew Jaffee
bc6fb2627f
add initial skip list Containers impl 2018-02-07 13:56:56 -06:00
Matthew Jaffee
cce3379abf
add Containers interface and modify Bitmap to use it
there are no implementations of Containers, so everything is broken, but the
code compiles
2018-02-07 13:56:56 -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
1312ddf9a2
Merge branch 'master' into cluster-resize 2018-02-06 13:07:55 -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
Travis Turner
29091b54bc
Merge branch 'master' into cluster-resize 2018-02-06 11:44:31 -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
Travis Turner
2d5daaf78d
Merge branch 'master' into cluster-resize 2018-02-06 10:06:15 -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
Travis Turner
20d6119906
Merge pull request #1077 from travisturner/cluster-resize-nodeid-as-name
Use NodeID instead of URI for node identification
2018-02-05 10:24:30 -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
Travis Turner
346e92a91d
return 0 values for errors. panic on unmarshal node meta data 2018-02-02 15:58:51 -06:00
Travis Turner
86dbbbf393
don't require oldNode in SetCoordinator() 2018-02-02 15:58:51 -06:00
Travis Turner
216ba7a41e
Use NodeID instead of URI for node identification 2018-02-02 15:58:46 -06:00
Travis Turner
143d3de66b
Merge pull request #1073 from travisturner/fix-framerestore-test
Fix FrameRestore test
2018-01-29 15:59:42 -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
d3590098f6
perform FrameRestore on both nodes in test cluster 2018-01-29 11:22:28 -06:00
Travis Turner
9b8d1ad4f9
add CreateViewMessage for broadcaster 2018-01-29 11:22:19 -06:00
Travis Turner
54e3235199
Merge pull request #1070 from travisturner/cluster-resize-merge
Cluster resize merge
2018-01-25 09:40:36 -06:00
Travis Turner
27e4f19af5
Merge branch 'master' into cluster-resize-merge 2018-01-25 09:39:05 -06:00
Travis Turner
267cb05039
Merge remote-tracking branch 'upstream/cluster-resize' into cluster-resize 2018-01-25 09:35:29 -06:00
Travis Turner
b8150d345e
Merge pull request #1065 from travisturner/fix-cluster-tests
Fix cluster tests
2018-01-25 09:34:04 -06:00
Travis Turner
c3512ab784
Merge remote-tracking branch 'upstream/cluster-resize' into cluster-resize 2018-01-25 09:20:38 -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