Commit graph

3762 commits

Author SHA1 Message Date
Travis
b0b0de5703 fixes a minor logic bug in the cluster tests 2016-11-21 16:25:15 -06:00
Travis
b6f0a62fdd changes MaxSlices logic to be DB-specific 2016-11-21 16:12:30 -06:00
tgruben
00f302142f Merge pull request #142 from benbjohnson/fault-tolerance
Add query fault tolerance to Executor.
2016-11-17 14:09:53 -06:00
Ben Johnson
94395b4fce Add fault tolerance to executor. 2016-11-17 12:02:53 -07:00
Travis Turner
863d890c7f Merge pull request #141 from benbjohnson/ctx
Add context to pilosactl.
2016-11-16 22:00:15 -06:00
Ben Johnson
6e304e8e7d Add context to pilosactl. 2016-11-16 19:53:40 -07:00
Cody Soyland
d9abb6881d Update README. Pilosa client requires Go 1.7 (context package) 2016-11-15 16:57:25 -06:00
tgruben
c9c28e1ed5 Merge pull request #139 from benbjohnson/context
Add context to Client, Executor, & Handler.
2016-11-10 16:00:35 -06:00
Ben Johnson
8f78f854dd Add context to Client, Executor, & Handler.
This changes the API of the types but does not alter the functionality
since only the `context.Background()` is currently being used. Adding
`Context` will help handle fault tolerance in the future by allowing
timeouts to be propagated across calls to different nodes.
2016-11-10 13:37:00 -07:00
tgruben
e92228d641 Merge pull request #138 from benbjohnson/frame-fragment-lock
Fix unlocked Frame.fragments accessor.
2016-11-04 10:56:07 -05:00
Ben Johnson
3f3c5cf23a Fix unlocked Frame.fragments accessor. 2016-11-04 09:32:58 -06:00
tgruben
c3fdb40c5e Merge pull request #135 from benbjohnson/assert
Clear empty containers, add assertions.
2016-11-03 14:52:53 -05:00
Ben Johnson
f23bb05e8d Clear empty containers, add assertions. 2016-11-03 13:42:46 -06:00
tgruben
cc67a40a12 Merge pull request #134 from yuce/dev-docs
added dev docs
2016-11-03 11:27:44 -05:00
Yuce Tekol
b9e682753a Removed export /home/yuce/Work/pilosa/server lines 2016-11-03 16:55:01 +03:00
Cody Soyland
e6a7086d78 Merge pull request #133 from yuce/updated-vendor-deps
updated vendors
2016-11-03 08:50:06 -05:00
Yuce Tekol
fcac1da562 typo 2016-11-03 16:47:17 +03:00
Yuce Tekol
7eb6d691ed typo 2016-11-03 16:45:52 +03:00
Yuce Tekol
2cb7b491d2 added dev docs 2016-11-03 16:37:45 +03:00
Yuce Tekol
82d5343317 updated vendors 2016-11-03 16:14:11 +03:00
tgruben
04a8ca097e Merge pull request #132 from travisturner/stats
fix the datadog stub so that it compiles without error
2016-11-02 17:21:09 -05:00
Travis
6f9791c8e3 fix the datadog stub so that it compiles without error 2016-11-02 16:34:45 -05:00
tgruben
709fbc4308 Merge pull request #130 from benbjohnson/check
Add pilosactl check.
2016-10-26 20:34:10 -05:00
Ben Johnson
3192897f55 Add pilosactl check. 2016-10-26 13:51:23 -06:00
tgruben
cb63c58a3d Merge pull request #129 from benbjohnson/127-array-write-fix
Avoid array write if length is zero.
2016-10-26 14:51:21 -05:00
Ben Johnson
feceaf429e Avoid array write if length is zero. 2016-10-26 13:47:37 -06:00
tgruben
141d4804b0 Merge pull request #128 from benbjohnson/stats
Add ExpvarStatsClient and basic tracking.
2016-10-20 16:46:20 -05:00
Ben Johnson
c6ca86f2d9 Add ExpvarStatsClient and basic tracking.
A `StatsClient` for `expvar` is added so we can track Stats through
the `/debug/vars` endpoint. Tags are nested inside maps so that we
can see stats for db, frame & slice.

Also added a `MultiStatsClient` for chaining multiple `StatsClient`
implementations together (e.g. `expvar` and DataDog).
2016-10-20 14:35:14 -06:00
tgruben
53dc73a1ad Merge pull request #126 from umbel/clearbit_bug
added remote termination clause for clearbit
2016-10-18 15:54:42 -05:00
tgruben
084f08b7b8 Merge pull request #124 from benbjohnson/123-clear-bit-fix
Fix ClearBit() file handle issue.
2016-10-18 15:12:03 -05:00
Todd Gruben
fb7bd66bc2 added remote termination clause for clearbit 2016-10-18 15:10:02 -05:00
tgruben
c9c1ab0310 Merge pull request #125 from benbjohnson/123-fix-clear-bit-return
Handle return data from remote ClearBit()
2016-10-18 15:05:40 -05:00
Ben Johnson
aaf88563e3 Handle return data from remote ClearBit()
Previously `ClearBit()` did not handle returned data correctly
and panicked. This change adds it to the list of available return
types.
2016-10-18 11:54:00 -06:00
Ben Johnson
3edaa2e81d Fix ClearBit() file handle issue.
Previously the index would create a fragment if it didn't exist
when clearing a bit. This causes additional file handles to be
created when it's already known that the bit is not set.
2016-10-18 10:27:38 -06:00
tgruben
b8b5cb0337 Merge pull request #122 from benbjohnson/120-fix-topn
Add slice to BitmapSegment operations.
2016-10-13 13:04:27 -05:00
Ben Johnson
2322201bf4 Add slice to BitmapSegment operations.
Previously the `slice` was not copied to each new segment when
`Intersect()`, `Union()`, and `Difference()` operations were performed.
This causes issues when those bitmaps were then operated on later such
as performing a `TopN()` on a source bitmap.
2016-10-13 10:54:40 -06:00
tgruben
517097ddc3 Merge pull request #121 from benbjohnson/statsd
Add StatsClient with DataDog implementation.
2016-10-07 16:03:42 -05:00
Ben Johnson
8c878780e9 Add StatsClient with DataDog implementation. 2016-10-06 15:11:33 -06:00
tgruben
2e81850c03 Merge pull request #119 from benbjohnson/rmdb
Add endpoint for database deletion.
2016-10-04 13:03:03 -05:00
Ben Johnson
56aea09ce1 Add endpoint for database deletion.
Executing a request against `DELETE /db` will now delete a database.

	curl -X DELETE "http://localhost:15000/db" -d '{"db":"d"}'
2016-10-04 09:40:59 -06:00
tgruben
138355c155 Merge pull request #118 from benbjohnson/attr-sync
Add profile & bitmap attribute anti-entropy
2016-09-30 13:18:23 -05:00
Ben Johnson
d5ad5fbb05 Add profile & bitmap attribute anti-entropy.
Adds block-based anti-entropy for the attribute stores and hooks
into the existing `IndexSyncer` to regulate frequency of syncs.
2016-09-30 11:47:43 -06:00
tgruben
c92f37ac3c Merge pull request #117 from umbel/bug
Bug
2016-09-27 17:20:59 -05:00
Todd Gruben
f2f7de4fd7 bug in difference 2016-09-27 16:07:48 -05:00
Todd Gruben
72db5500ca bug in Union 2016-09-27 16:04:20 -05:00
Todd Gruben
d699d41ea7 added docs for TopN attributes 2016-09-27 14:07:29 -05:00
tgruben
bd84fa3404 Merge pull request #116 from umbel/difference_bug
Difference bug
2016-09-23 16:05:23 -05:00
Todd Gruben
ad852fdbf1 cleaned up constant 2016-09-23 16:04:22 -05:00
Todd Gruben
5f65636199 fix roaring.Difference crash 2016-09-23 13:27:35 -05:00
Todd Gruben
6a8973f7c9 fix for intersect and updated tests 2016-09-22 16:47:39 -05:00