Ben Johnson
802970bd80
Convert tests to standard library testing.
...
This commit converts the goconvey tests to use the
standard library testing format. The query pkg has
not be converted yet because it is more difficult
to convert.
2015-08-15 20:39:38 -06:00
Ben Johnson
2f1e3b6078
Refactor config & service
...
This commit refactors the config into a `main.Config` object instead
of a global singleton. The `core.Service` is also refactored into
the `main` package and individual pieces of the service are wired
together by the `pilosa` binary.
These two changes are required to begin to decouple packages from
one another and allow them to be individually unit tested. Previously
most top-level objects in the system could access any other top-level
object through the `core.Service` which effectively made `Service` a
singleton in the system. Each top-level object now has inline interfaces
for their dependencies so that can be set at runtime by the `main`
package or can be mocked by a test package.
2015-08-12 15:34:23 -06:00
travisturner
33dd34107a
Remove commented code
...
Some commented test code was left in case these are tests that
need to be implemented.
2015-08-07 17:29:57 -05:00
Ben Johnson
b06ecf3320
Update import path
...
This commit updates the import path from:
```
pilosa/*
```
to:
```
github.com/umbel/pilosa/*
```
This follows standard Go convention and makes the project "go gettable".
The README was also updated to reflect the changes.
2015-08-05 22:50:38 -06:00
Todd Gruben
98f13fecd8
adjusted loading routines to match intel littleEndian
2015-06-30 16:24:20 +00:00
Todd Gruben
58247dabc5
removed debug in load; fixed etcd processid compare
2015-06-10 19:20:55 +00:00
Todd Gruben
28e8639717
removed some logging
2015-03-31 17:53:57 +00:00
Todd Gruben
b09efe2416
optimize session handling for cass storage handler
2015-03-31 16:22:04 +00:00
Todd Gruben
662ff2d00c
fixed bug in local process determination
2015-03-23 20:30:58 +00:00
Todd Gruben
42381892cb
changed breakout threshold
2015-03-12 22:15:16 +00:00
Todd Gruben
ede95d0bbd
better logging for fragment
2015-03-12 19:22:04 +00:00
Todd Gruben
45ad98aaf5
cleaned up some logging
2015-03-12 16:33:02 +00:00
Todd Gruben
90050610ac
base 2 benchmarks
2015-03-12 15:26:20 +00:00
Todd Gruben
4a83882e8e
added basic bitmap benchmark
2015-03-11 15:10:52 +00:00
Todd Gruben
8b2398b8e5
refactor delete bit
2015-03-04 23:17:36 +00:00
Todd Gruben
2524ff2a51
refactor setbit/clearbit
2015-03-04 20:41:37 +00:00
Todd Gruben
170fe96661
added new logging technique
2015-02-09 22:26:45 +00:00
Todd Gruben
377d850534
added new logging setup
2015-02-05 21:09:07 +00:00
Todd Gruben
d8d5a8dfcb
clear_vits v1
2015-02-05 00:22:12 +00:00
Todd Gruben
20dd3dfe07
testing clearbit
2015-01-27 23:36:58 +00:00
Todd Gruben
474d7f518e
First Pass at adding ClearBit
2015-01-27 19:18:57 +00:00
Todd Gruben
c6e3788a20
first pass at remote setbit, doesn't work
2015-01-21 20:28:07 +00:00
Todd Gruben
7d59066c3f
moved setbit to out of pql cql
2015-01-20 19:53:50 +00:00
Todd Gruben
79f5c58fbb
make cassandra writes async
2015-01-15 20:12:14 +00:00
travisturner
0caddadcfe
fix bug in storage test
2014-12-22 23:18:06 -06:00
Todd Gruben
a841c0ea44
updated cql driver
2014-12-18 22:33:07 +00:00
Todd Gruben
3189f40da1
added some connection cleanup code for tcp/transport and support for local connections
2014-12-18 21:46:47 +00:00
Todd Gruben
aa00270de8
more cleanup code on panic shutdown
2014-12-02 21:06:50 +00:00
Todd Gruben
afa42e1af0
more cache miss bugs
2014-12-02 20:57:23 +00:00
Todd Gruben
f566296f7c
fix for overflow
2014-12-02 20:17:29 +00:00
Todd Gruben
6a46cfe95a
increased the default cache size
2014-12-01 17:40:02 +00:00
Todd Gruben
35fb817a68
lengthened rank threshold
2014-12-01 17:11:54 +00:00
Todd Gruben
bbc23c6543
fixed improper handling of cache miss
2014-12-01 17:09:58 +00:00
Todd Gruben
2b1801167e
only allow one fragment to load at a time
2014-11-21 14:10:56 +00:00
Todd Gruben
df1886f8a2
added back load but with greater delay (random up to a sec between id's)
2014-11-10 22:05:09 +00:00
Todd Gruben
d51ecd5115
turned off preload
2014-11-07 22:45:08 +00:00
Todd Gruben
a9133b4b10
changed cassanadra storage to handle client timestamp bug
2014-10-17 20:15:16 +00:00
Todd Gruben
938995fe36
band aid
2014-10-10 17:06:40 +00:00
Todd Gruben
72b1048134
turned off brand loading
2014-10-10 17:02:53 +00:00
Todd Gruben
5993c68c8b
new priority channel for brand loader
2014-10-10 16:33:43 +00:00
Todd Gruben
71ece5fe6b
added a setbit counter
2014-10-10 15:46:52 +00:00
Todd Gruben
5c29733285
better fragment loading policy
2014-09-29 22:21:18 +00:00
travisturner
26bdd96552
handle TopFill correctly for TopNAll queries (i.e. no filter)
2014-09-29 12:28:19 -05:00
Todd Gruben
7ec48f2385
off by one take two
2014-09-25 14:10:43 +00:00
Todd Gruben
5557f529a7
off by one bug in all
2014-09-25 13:58:56 +00:00
Todd Gruben
5cf03a5464
Merge branch 'master' of ops:nuevo-pilosa
2014-09-22 23:19:11 +00:00
Todd Gruben
ec63881620
TopNAll fragment function added
2014-09-22 23:18:57 +00:00
travisturner
ddef01ae0d
rename hotbox to pilosa
2014-09-22 17:26:25 -05:00
Todd Gruben
7b0681136a
setting time quantum value on date tiles
2014-09-22 20:00:58 +00:00
Todd Gruben
cd6e4d07e8
added stash keyword
2014-08-29 16:29:21 +00:00