Commit graph

3762 commits

Author SHA1 Message Date
Travis Turner
1233226aa0
remove Join method from StaticMemberSet struct 2018-03-06 12:18:44 -06:00
Travis Turner
36cc056618
Merge remote-tracking branch 'upstream/master' into cluster-resize 2018-03-06 12:14:38 -06:00
Matthew Jaffee
e34fcbf568
Merge pull request #1156 from jaffee/fix-container-comment
make container struct description more accurate
2018-03-04 15:06:47 -06:00
Matthew Jaffee
d04530a5c0
make container struct description more accurate 2018-03-03 11:45:48 -06:00
Matthew Jaffee
84e788dd3b
Merge pull request #1154 from jaffee/doc-seq-ids
add warnings about sequential ids
2018-03-02 12:00:19 -06:00
Matthew Jaffee
dcb411d028
add warnings about sequential ids 2018-03-02 11:00:46 -06:00
Ilya Tocar
2c8d9a5ae0 roaring: speed-up intersectionCountArrayBitmap
While looking at benchmarks as a possible go compiler benchmarks.
I've tried some optimizations by hand:
Move len(b.bitmap) load out of the loop.
Remove some type conversions.
Use (x >> off) & 1  to get offs bit, instead of  x & (1 << of)f >> off.

This produces nice speed-up and passes go test roaring.

name                                    old time/op  new time/op  delta
Bitmap_IntersectionCount_ArrayRun-6     2.06µs ± 0%  1.57µs ± 0%  -24.04%  (p=0.000 n=10+9)
Bitmap_IntersectionCount_BitmapRun-6    2.24µs ± 0%  2.24µs ± 0%     ~     (p=0.913 n=10+9)
Bitmap_IntersectionCount_ArrayBitmap-6  2.06µs ± 0%  1.56µs ± 1%  -24.05%  (p=0.000 n=9+10)
2018-02-28 17:08:26 -06:00
alanbernstein
280b21b533
Merge pull request #1135 from alanbernstein/docs-fixes
Docs fixes
2018-02-26 22:18:59 -06:00
Alan Bernstein
a20235f812 Add Xor spec 2018-02-26 15:26:28 -06:00
Travis Turner
97915cf5f9
Merge pull request #1148 from travisturner/gcnotify-interface
put GCNotify behind an interface
2018-02-26 10:51:00 -06:00
Travis Turner
10ebb6ab11
put GCNotify behind an inerface 2018-02-26 10:30:51 -06:00
Travis Turner
29dcfd06da
Merge pull request #1117 from travisturner/cluster-resize-handle-error
replace swallowed error with log entry
2018-02-23 16:37:42 -06:00
Matthew Jaffee
80fa535676
Merge pull request #1136 from jaffee/rem-col-label-docs
remove column label repo_id from query language docs
2018-02-23 14:21:04 -06:00
Travis Turner
c3f25e6d2c
Merge pull request #1143 from travisturner/scheme-in-bind-addr
handle the scheme correctly in config.Bind
2018-02-23 14:20:59 -06:00
Cody Soyland
66cc7a35c0
Merge pull request #1133 from codysoyland/redundant-gossip-seeds
Add support for lists of gossip seeds for redundancy
2018-02-23 12:03:16 -06:00
Cody Soyland
3bba35236f Add back example settings 2018-02-23 11:16:19 -06:00
Travis Turner
3d1538d53c
handle the scheme correctly in config.Bind 2018-02-23 10:48:55 -06:00
Travis Turner
1086c6c959
remove old GossipPort and GossipSeed config options 2018-02-23 10:22:32 -06:00
Yuce Tekol
c4fea5ecc7
Merge pull request #1140 from yuce/cluster-resize-handler-validation
Cluster resize handler validation
2018-02-23 18:35:49 +03:00
Cody Soyland
dbe917c9f4 Merge branch 'cluster-resize' into redundant-gossip-seeds 2018-02-23 09:20:28 -06:00
Yuce Tekol
82d2b31d52
Merged query arg validator 2018-02-23 15:21:05 +03:00
Travis Turner
359fc190bd
Merge pull request #1139 from travisturner/prevent-excessive-sendsync
prevent excessive sendSyce (createView) messages.
2018-02-22 16:55:07 -06:00
Travis Turner
2425a84a85
Merge pull request #1138 from travisturner/remove-node-validation
add validation around node-remove conditions
2018-02-22 16:53:48 -06:00
Travis Turner
e454473ec7
prevent excessive sendSyce (createView) messages. 2018-02-22 16:02:43 -06:00
Yuce Tekol
fcfc54eeeb
Merge pull request #1121 from yuce/652-validate-query-arguments
Validate /fragment/nodes arguments. Fixes #652
2018-02-22 23:01:34 +03:00
Cody Soyland
a23fe86839 Convert gossip seed string to slice 2018-02-22 13:14:45 -06:00
Travis Turner
52edeb72b4
add validation around node-remove conditions 2018-02-22 12:15:27 -06:00
Cody Soyland
fc6b0ea0e8 Add support for comma-separated list of gossip seeds for redundancy. 2018-02-22 11:45:50 -06:00
Yuce Tekol
25e244ebdf
Updates 2018-02-22 17:33:41 +03:00
Matthew Jaffee
a433a5ebfc
remove column label repo_id from query language docs
column labels are deprecated and the docs' usage of columnID vs repo_id was
inconsisent.
2018-02-21 16:42:35 -06:00
Travis Turner
c4f6a6beda
Merge branch 'master' into cluster-resize 2018-02-21 16:23:53 -06:00
Alan Bernstein
59d41a9cb3 Add Xor to docs 2018-02-21 15:42:46 -06:00
Alan Bernstein
73904db391 Fix indentation 2018-02-21 15:42:35 -06:00
Travis Turner
9c9a9382bf
Merge pull request #1132 from travisturner/broadcast-createfield
broadcast.SendSync field creation and deletion to all nodes
2018-02-21 15:23:43 -06:00
Travis Turner
da125e323c
broadcast.SendSync field creation and deletion to all nodes 2018-02-21 14:56:38 -06:00
Matthew Jaffee
f3e65e1b5a
Merge pull request #1130 from jaffee/remove-http-type-docs
remove cluster type http from docs
2018-02-21 14:49:31 -06:00
Matthew Jaffee
3e770a5eca
remove cluster type http from docs 2018-02-21 13:47:55 -06:00
Yuce Tekol
0417439afa
Validate all relevant endpoints; Changed how validation key is composed 2018-02-21 18:03:05 +03:00
Cody Soyland
cd2c6f0ae8
Merge pull request #1123 from codysoyland/go110
Go 1.10
2018-02-20 15:50:00 -06:00
Matthew Jaffee
cd5dd9bfd0
Merge pull request #1125 from jaffee/test-api-compat
add MustRunMainWithCluster test func to have api compatibility with c…
2018-02-20 12:06:55 -06:00
Matthew Jaffee
82592adf64
add MustRunMainWithCluster test func to have api compatibility with cluster resize
this will allow some pdk code which only works with cluster-resize to work
against master (i think)
2018-02-20 11:50:06 -06:00
tgruben
537df748ad
Merge pull request #797 from tgruben/gobits
Replace custom assembly bit functions with standard go
2018-02-20 10:05:38 -07:00
Todd Gruben
e01edb7e85 removed 1.8 from support; bits require 1.9 2018-02-20 10:42:42 -06:00
Todd Gruben
2d458b98a1 merge conflicts 2018-02-20 10:41:02 -06:00
Yuce Tekol
c1f9dd4e59
Added query arg validator middleware; updated Gorilla/mux 2018-02-20 15:38:58 +03:00
Cody Soyland
cf7faa2241 Use string instead of float for go 1.10 2018-02-19 10:48:02 -06:00
Cody Soyland
a8e1e93c34 Go 1.10 2018-02-19 10:34:47 -06:00
Yuce Tekol
8e6041d0fe
Validate /fragment/nodes arguments. Fixes #652 2018-02-19 13:55:19 +03:00
Travis Turner
7a840f5bf5
Merge pull request #1120 from travisturner/cluster-resize-merging
Cluster resize merging
2018-02-16 11:31:58 -06:00
Travis Turner
ea210cd525
remove extra context import 2018-02-16 11:21:47 -06:00