Ben Johnson
7048aa519b
clean up ids
2015-09-03 15:50:08 -06:00
Ben Johnson
45fd4fc992
flatten util into pilosa
...
This commit moves ID-related types and functions to the top
level package and moves remaining statsd wrapper into a `statsd`
package.
2015-09-03 14:43:34 -06:00
Ben Johnson
3c832591df
move index package to root package
...
This commit moves the index package to the root. Because pilosa
is an index at its core, it's redundant to have an index
subpackage. It also provides better naming such as `pilosa.Bitmap`
instead of `index.Bitmap`.
2015-08-31 16:54:53 -06:00
Ben Johnson
306249c293
refactor storage
...
This commit moves individual storage engines to their own packages.
They can be registered and instantiated by a string name.
2015-08-30 16:49:32 -06:00
Ben Johnson
c38d023cc1
refactor index package
...
This commit does clean up and minor refactoring of the
index package.
2015-08-24 16:31:39 -06:00
Ben Johnson
73631de9e8
vet
2015-08-20 13:46:39 -06:00
Ben Johnson
6fdd32d5ce
remove core.Service
2015-08-20 13:15:27 -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
3d87b3bfbe
more balanced node creation
2015-07-23 14:58:39 +00: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
6bd377ebe2
updated etcd client
2015-03-31 18:32:21 +00:00
Todd Gruben
dface8bcbc
updated logging
2015-03-23 23:10:49 +00:00
Todd Gruben
e9aba3ac88
changed log timestamp format
2015-03-23 22:06:27 +00:00
Todd Gruben
662ff2d00c
fixed bug in local process determination
2015-03-23 20:30:58 +00:00
Todd Gruben
8ce29cc316
added back in hashring
2015-03-20 03:00:03 +00:00
Todd Gruben
d31d289520
protection during fragment creation
2015-03-18 19:29:39 +00:00
Todd Gruben
9cc003683e
added some more logging on fragment creation
2015-03-16 20:39:38 +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
7a40a594c2
sanity check for fragment creation
2015-03-11 15:11:30 +00:00
Todd Gruben
02a0ee73cd
added nil check to GetProcess
2015-03-11 03:27:34 +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
1dffa07fd6
lowered log level
2015-03-02 22:41:08 +00:00
Todd Gruben
4880303e5c
added auto allocate to the load routine
2015-02-27 22:13:08 +00:00
Todd Gruben
93e4a1fc92
adding load endpoint to support loading bitmaps from python client
2015-02-26 23:01:17 +00:00
Todd Gruben
7b9472bffe
more logging and stats updats
2015-02-10 11:41:36 +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
0862a01132
fix for waiting
2015-02-04 15:15:36 +00:00
Todd Gruben
2785207d35
Merge branch 'master' of ops:nuevo-pilosa
2015-01-26 19:27:14 +00:00
Todd Gruben
e4416a91b8
fixed messaging layer bug
2015-01-26 19:27:00 +00:00
travisturner
89715e720c
fix log typo
2015-01-25 18:43:47 -06:00
Todd Gruben
d8c58f57ad
small optimization to set_bit
2015-01-25 16:21:14 +00:00
Todd Gruben
c87f3f8632
removed executor timing for no longer applicable
2015-01-23 17:54:34 +00:00
Todd Gruben
8e796a5edf
removed pql from setbit path
2015-01-22 17:22:08 +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
travisturner
aef7799dbb
remove fragments hashring from FrameSliceIntersect
2015-01-19 09:29:17 -06:00
Todd Gruben
f32ca7c3d4
increased some transport buffer sizes
2015-01-13 19:30:28 +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
6768b9c1bd
removed some of the detail logging
2014-12-08 19:55:59 +00:00
Todd Gruben
e4dcf867c3
added check for invalid database and sanity check for executor
2014-12-03 18:00:13 +00:00
Todd Gruben
f566296f7c
fix for overflow
2014-12-02 20:17:29 +00:00
Todd Gruben
abb0e4531a
sanity check for set_bits
2014-12-02 16:48:45 +00:00
Todd Gruben
906e05d780
added more detailed logging
2014-12-01 17:10:16 +00:00