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
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
58247dabc5
removed debug in load; fixed etcd processid compare
2015-06-10 19:20:55 +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
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
e4416a91b8
fixed messaging layer bug
2015-01-26 19:27:00 +00: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
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
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
Todd Gruben
0225f6e798
added more logging and a panic detector to try and figure out why process dieing
2014-11-26 10:27:53 +00:00
Todd Gruben
99492eb272
added more logging to query request
2014-11-21 20:45:26 +00:00
Todd Gruben
b97656172d
fixed mispelling with time_granularity
2014-10-29 16:49:13 +00:00
Todd Gruben
a9133b4b10
changed cassanadra storage to handle client timestamp bug
2014-10-17 20:15:16 +00:00
Todd Gruben
4dd88570e4
fix crash with missing set_bit requests
2014-09-29 16:05:02 +00:00
Todd Gruben
3be3c1f4c5
added default granulatrity to time fragments'
2014-09-23 16:57:20 +00:00
Todd Gruben
bfd50e219d
added default timestamp handling
2014-09-23 16:40:32 +00:00
Todd Gruben
579c25a189
added default no time for t fragments
2014-09-23 15:58:52 +00:00
Todd Gruben
d2c701303a
added bits decorator to query request
2014-09-05 18:54:20 +00:00
Todd Gruben
e4ab00ae1f
turn off some logging
2014-08-13 17:20:03 +00:00
Todd Gruben
83685c4e8c
adjusted set bit timestamp format
2014-08-12 12:43:58 +00:00
Todd Gruben
8b7f149dcf
paramaterized setbit log
2014-06-25 14:42:47 -05:00
Todd Gruben
41bbff06b6
made setbit logging configurable
2014-06-25 09:49:57 -05:00
Todd Gruben
6b8428f64c
adusted cas batch; removed panics
2014-06-24 07:55:43 -05:00
Todd Gruben
828b124d41
cleanup topn null return
2014-06-23 13:11:57 -05:00
Todd Gruben
edaef0912b
fixed bug with cassandra batching
2014-06-20 15:59:32 -05:00
Todd Gruben
1e7c2e6693
force flush of set_big log on shutdown
2014-06-20 08:41:50 -05:00
Todd Gruben
1b89d79c0a
auto allocate .001
2014-06-18 15:09:31 -05:00
Todd Gruben
4a2c3e73d0
converted to main cql driver
2014-06-17 13:06:56 -05:00
Todd Gruben
a773c7959f
added plug point for fragment creation
2014-06-17 12:21:11 -05:00
Todd Gruben
bdbc2b1621
fixed bug in setbit logging
2014-05-23 12:35:21 -05:00
Todd Gruben
161af565b3
turned off bit logging for bug check
2014-05-23 10:14:31 -05:00
Todd Gruben
d7a7b253f1
added flush for setbit log
2014-05-23 09:26:50 -05:00
Todd Gruben
108d351267
added setbit logging
2014-05-22 14:32:55 -05:00
Todd Gruben
29f006f506
added some statsd fun
2014-04-09 18:44:00 -05:00