Commit graph

3762 commits

Author SHA1 Message Date
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
Travis Turner
c5afd86ff2 Merge pull request #2 from umbel/cleanup
Remove commented code
2015-08-07 17:35:27 -05: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
e95d94414a Merge pull request #1 from benbjohnson/path
Update import path
2015-08-06 23:01:01 -06: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
6822dd99b5 added default config file 2015-08-03 11:52:53 -05:00
Todd Gruben
892b9c6729 Merge branch 'master' of github.com:umbel/pilosa 2015-08-03 11:52:01 -05:00
Todd Gruben
de0ba3b4e5 removed out of date config file 2015-08-03 11:51:52 -05:00
tgruben
0d5ab8b30e Create README.md 2015-08-03 11:50:33 -05: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
28e8639717 removed some logging 2015-03-31 17:53:57 +00:00
Todd Gruben
e466e982ae updated gocql driver 2015-03-31 16:22:29 +00:00
Todd Gruben
b09efe2416 optimize session handling for cass storage handler 2015-03-31 16:22:04 +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
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
7a40a594c2 sanity check for fragment creation 2015-03-11 15:11:30 +00:00
Todd Gruben
4a83882e8e added basic bitmap benchmark 2015-03-11 15:10:52 +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
19ccc192ae convert to timing stat 2015-02-23 17:39:25 +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
bb51cf3cfc Merge branch 'master' into clear_bit 2015-02-04 15:16:02 +00:00
Todd Gruben
0862a01132 fix for waiting 2015-02-04 15:15:36 +00:00
Todd Gruben
c1c54bca1f old transport 2015-01-28 00:52:55 +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
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