Commit graph

5199 commits

Author SHA1 Message Date
Cody Soyland
680acf4e3d Fix error on linux 2018-03-14 17:41:44 -05:00
Cody Soyland
2d425e32e9 Log platform 2018-03-14 17:33:54 -05:00
Cody Soyland
20dc1212f8 Address code review (mostly comments) 2018-03-14 16:51:40 -05:00
Cody Soyland
88471e94f1 Remove caching (the lib code is fast) and add tests 2018-03-14 16:50:27 -05:00
Alan Bernstein
00bbdc1107 Move SetFieldValue to write section 2018-03-13 14:50:09 -05:00
Cody Soyland
c2444870c6 Remove gobreaker dep and add HTTP timeout 2018-03-13 12:30:39 -05:00
Cody Soyland
f4c1e0c492 Refactor gopsutil into SystemInfo interface/subpackage for dependency injection. 2018-03-13 11:41:45 -05:00
Cody Soyland
510c64ef06 Move diagnostics into package pilosa 2018-03-12 16:32:35 -05:00
Travis Turner
1206e40931
Merge pull request #1158 from travisturner/cluster-resize-coordinator-bool
Cluster resize coordinator bool
2018-03-12 11:58:37 -05:00
Alan Bernstein
8cfe7583ce Fix broken anchor links 2018-03-09 15:27:21 -06:00
Alan Bernstein
1b4445a00d Fix formatting 2018-03-09 15:27:00 -06:00
Matthew Jaffee
17d1bd18aa
Merge pull request #1165 from dosko64/misspell
Fix misspells in comments
2018-03-09 10:03:51 -06:00
Ilias Dimos
13e3b04443 Fix misspells in comments 2018-03-09 14:12:15 +02:00
Alan Bernstein
85799739af Address review comments 2018-03-08 15:55:21 -06:00
Alan Bernstein
cb0ac00eb3 Switch ref links to relative urls 2018-03-08 14:31:03 -06:00
Travis Turner
2a462d5e42
make sure cluster.Nodes[].IsCoordinator values get updated. return old coordinator node in response. 2018-03-08 14:18:10 -06:00
Travis Turner
fa4e543e84
send a NodeJoin event on startup for cases where a quick restart has occurred and memberlist is not aware of it 2018-03-08 12:42:24 -06:00
Travis Turner
1cc45b22a2
Change Config.Coordinator from URI to bool 2018-03-08 12:42:24 -06:00
Cody Soyland
0a6f2d07f6 Move statik filesystem implemention to subpackage of statik package. 2018-03-08 08:38:29 -06:00
Alan Bernstein
f371e1c2f2 Add glossary terms 2018-03-07 18:11:39 -06:00
Alan Bernstein
a562e73fa4 Minor updates 2018-03-07 18:11:22 -06:00
Alan Bernstein
cf41e7c3f7 Alphabetize glossary 2018-03-07 16:17:05 -06:00
Alan Bernstein
2811ed7b09 Improve and linkify glossary 2018-03-07 16:15:45 -06:00
Alan Bernstein
64bf4827aa Minor fixes 2018-03-07 16:15:18 -06:00
Alan Bernstein
b59901b403 Linkify docs url 2018-03-07 16:13:25 -06:00
Cody Soyland
5a2e1c3703
Merge pull request #1162 from codysoyland/cluster-resize-remove-without-replicas
Proper error handling when attempting to remove node when there aren't enough replicas
2018-03-07 13:51:44 -06:00
Travis Turner
d6896ea0a5
rename StaticFileSystem to FileSystem. re-org statik files 2018-03-07 11:12:05 -06:00
Cody Soyland
42682e12a8 Address code review: Fix error handling and add comment 2018-03-07 09:45:27 -06:00
Alan Bernstein
04b17847ce Clean up glossary 2018-03-06 18:14:22 -06:00
Alan Bernstein
e7eb68b101 Add cosmosa to new external tutorials section 2018-03-06 17:48:40 -06:00
Alan Bernstein
2b1a3c8403 Add docs readme 2018-03-06 17:48:14 -06:00
Travis Turner
2d1464f037
Merge pull request #1159 from travisturner/cluster-resize-staticmemberset
Cluster resize staticmemberset
2018-03-06 17:18:01 -06:00
Travis Turner
ec07f69cad
Merge pull request #1160 from travisturner/cluster-resize-better-wording
add comments to exported methods. remove debugging test.
2018-03-06 17:17:29 -06:00
Travis Turner
e03dee9386
put Statik behind an interface 2018-03-06 17:02:08 -06:00
Cody Soyland
b7b92913d9 Add comment to listenForJoins 2018-03-06 15:13:24 -06:00
Cody Soyland
d28a30ebd4 Proper error handling when attempting to remove node when there aren't enough replicas 2018-03-06 15:11:46 -06:00
Travis Turner
d0009206b4
add comments to exported methods. remove debugging test. 2018-03-06 12:42:29 -06:00
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