Travis Turner
44f0b992f6
change all CreateField() methods to take functional options instead of FieldOptions
2018-07-04 21:22:35 -05:00
Matt Jaffee
a6a0c6a7c3
unexport Holder.view and prepare to unexport Holder.Fragment
2018-07-02 13:58:20 -05:00
Matt Jaffee
4182678d5a
work on unexporting View stuff
2018-07-02 10:11:56 -05:00
Matt Jaffee
ea77db895a
fix syncholder test and a few bugs
...
The http internal client's FragmentBlocks and Blockdata methods were being used
incorrectly, and incorrect respectively. One was not being passed a node URI by
monitorAntiEntropy, and the other was always using the defaultURI regardless of
what was passed to it. Antientropy was doubling not working because of this. I
think this crept in pretty recently, so hasn't actually affected anyone.
I exposed a SyncData method on Server so that we can invoke the anti entropy
task manually instead of trying to set up the interval so that it will run and
then sleeping and waiting for it to run. Now that this test works the way it
does, the other anti entropy test is obsolete, and I deleted it.
2018-06-29 14:48:13 -05:00
Travis Turner
5dd7a9556a
rename slice to shard
2018-06-28 14:07:07 -05:00
Cody Soyland
c6db3974bc
WIP API refactor
2018-06-21 13:51:31 -05:00
Travis Turner
c77b7d5ca5
remove view argument from Field.SetBit and Field.ClearBit
2018-06-19 18:15:38 -05:00
Cody Soyland
fba865fc6c
Remove more net/http references
2018-06-13 16:50:44 -05:00
Travis Turner
8021fc389b
un-export (some) Cluster methods
2018-06-13 15:42:35 -05:00
Cody Soyland
ecbbd31b4e
Improve naming
2018-06-13 09:18:50 -05:00
Cody Soyland
daffa3b125
Rename InternalHTTPClient -> InternalClient
2018-06-13 09:04:04 -05:00
Cody Soyland
0b16a3afb9
Merge branch 'develop' into http-inversion
2018-06-12 14:49:54 -05:00
Cody Soyland
f2c104dfef
Migrate HTTP handler and client into http subpackage.
2018-06-12 13:22:40 -05:00
Travis Turner
e58d407182
unexport (most) View methods
2018-06-07 22:50:49 -05:00
Travis Turner
173939813f
remove slice argment from Field.Row() method
2018-06-07 17:14:46 -05:00
Travis Turner
3c3c98371b
unexport Fragment.Row(). This required creating Field.Row() and View.row()
2018-06-07 15:09:58 -05:00
Travis Turner
468ad57b6d
un-export Fragment.SetBit and Fragment.ClearBit.
...
adds methods to test.Holder to set/clear bits on a field.
2018-06-07 13:43:20 -05:00
Travis Turner
2a9b1e9e5b
final Frame to Field rename
2018-06-06 01:27:12 -05:00
Travis Turner
4254eb1d11
rename internal FrameMeta to FieldOptions
2018-06-05 23:10:59 -05:00
Travis Turner
3531c128c4
GoRename Frame to Field in index.go
2018-06-05 22:33:48 -05:00
Travis Turner
1d3c4d6fcb
first pass at GoRename Frame to Field in frame.go
2018-06-05 17:52:22 -05:00
Matt Jaffee
ca530b1fc3
more fixes
2018-05-25 10:57:51 -05:00
Todd Gruben
fb7bf11825
Bit -> Column migration
2018-05-23 15:05:22 -05:00
alanbernstein
64ebae3a8a
Merge branch 'master' into wrap-errors-index
2018-05-10 18:57:44 -05:00
alanbernstein
515b1bd418
Merge branch 'master' into wrap-errors-frame
2018-05-10 17:54:05 -05:00
alanbernstein
32ed40ad45
Merge pull request #1274 from alanbernstein/wrap-errors-fragment
...
Wrap errors in fragment
2018-05-10 17:48:08 -05:00
alanbernstein
ec503740e4
Merge branch 'master' into wrap-errors-frame
2018-05-10 17:28:54 -05:00
Alan Bernstein
6e28624528
Wrap errors in fragment
2018-05-10 13:09:07 -05:00
Alan Bernstein
eb888b74f7
Update test error strings
2018-05-10 12:12:55 -05:00
Alan Bernstein
4f300f5c2e
Wrap errors in index
2018-05-10 11:33:14 -05:00
Alan Bernstein
17520033c6
Update test error strings
2018-05-10 10:57:27 -05:00
Alan Bernstein
3907e21f6f
Wrap errors in frame
2018-05-08 18:40:44 -05:00
Matthew Jaffee
f9ff20689a
remove holder.Peek, combine with HasData, move server logic
...
Server initializing happens more in NewServer than Open now - expecting to
continue this trend. goal was to remove remoteClient from Server (since it has a
defaultClient) as well, but we'll have to refactor the client usage in fragment
and frame first.
2018-04-24 08:44:58 -05:00
Matthew Jaffee
28acc29a10
refactoring pilosa/server
...
trying to separate internal an external concerns in pilosa.Server - it should
handle Cluster, Holder, etc. while pilosa/server handles things with external
deps - e.g. Logger, Stats, Handler, etc. Using functional options in
pilosa.Server now.
2018-04-23 13:35:39 -05:00
Travis Turner
e7151eb2a8
Remove Index.TimeQuantum
2018-04-18 08:17:26 -05:00
Matthew Jaffee
07610560df
Merge branch 'master' into 1151-http-refactor
2018-04-10 08:10:25 -05:00
Travis Turner
1764d5a9bf
Merge pull request #1180 from travisturner/remove-rowcol-labels
...
Remove rowcol labels
2018-04-03 22:37:59 -05:00
Yuce Tekol
c36dd395e6
All tests pass
2018-04-03 15:20:33 -07:00
Travis Turner
9a2aeac6f8
Clean up logger; make it honor --log-path flag.
...
Add functional options to NewGossipMemberSet.
2018-03-27 08:40:04 -05:00
Travis Turner
b2b0fd081a
Remove ColumnLabel support
2018-03-26 15:35:56 -05:00
Travis Turner
d0009206b4
add comments to exported methods. remove debugging test.
2018-03-06 12:42:29 -06:00
Travis Turner
216ba7a41e
Use NodeID instead of URI for node identification
2018-02-02 15:58:46 -06:00
Travis Turner
c0fab2bcee
Merge branch 'master' into cluster-resize
2018-01-17 12:55:12 -06:00
Travis Turner
3fc2f27710
add some statsd calls to HolderSyncer
2018-01-11 14:57:45 -06:00
Travis Turner
c9886b049b
Merge branch 'master' into cluster-resize working branch.
2017-12-04 22:18:57 -06:00
Travis Turner
59cdd5dde9
Add HolderCleaner and view.DeleteFragment to support post-resize cleanups
...
Add tests for view.DeleteFragment and HolderCleaner
2017-12-04 18:03:22 -06:00
Todd Gruben
f051f7ccea
refactored httpclient handling
2017-12-01 16:00:12 -06:00
Travis Turner
453bbc996c
adjust Holder.Peek() and add tests for it
2017-11-10 10:38:49 -06:00
Cody Soyland
5594736c71
Skip permissions test when run as root. Fixes #940
2017-11-08 11:31:46 -06:00
Travis Turner
a8871ada6a
Convert Host to URI.
...
Fix all compile errors.
2017-10-25 11:52:55 -05:00