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
Travis
f1e3ac90d4
Determine cluster membership via gossip.
...
Handle resize cluster events.
Add Toplogy support.
Refactor FrameOptions.
Add tests.
2017-10-25 00:27:30 -05:00
Yuce Tekol
e223ec3f9a
Rename Host -> URI
2017-10-12 15:49:34 +03:00
Yuce Tekol
65ad94c376
clusters with https + self signed certificates work (using --tls.skip-verify)
2017-10-10 04:48:15 +03:00
Yuce Tekol
a95b09d30d
more host string to uri changes
2017-10-04 15:29:00 +03:00
Michael Baird
2dfa689d71
Fragment.Close now returns an error.
...
This required changing the Holder test utility Reopen, since in those cases we needed to close the file before making permission changes that Close() was failing silently on.
2017-08-22 14:52:07 -05:00
Cody Soyland
85b1a73b73
Refactor test utilities into importable package.
...
Remove duplicate instances of test utilities from pilosa.ctl.
Now subpackages such as pilosa.ctl may import test utilities.
2017-06-23 09:10:15 -05:00
Ben Johnson
3a43a862ec
Add Holder test coverage.
2017-06-12 13:07:26 -06:00
Travis
f429c87a56
new test function: MustCreateRankedFragmentIfNotExists
2017-05-01 23:57:43 -05:00
Matt Jaffee
c828953702
change the default num and try to fix some tests
2017-05-01 16:58:45 -05:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -05:00
Travis
1343979308
Fixes up a few overlooked d := Index()
2017-04-24 11:17:30 -05:00
Travis
2ad322c2c7
Rename DB to Index
...
Rename `db.go` to `index.go` and `db_test.go` to `index_test.go`
2017-04-23 21:49:27 -05:00
Travis
2cacff8e09
Rename Index to Holder
...
Rename `index.go` to `holder.go` and `index_test.go` to `holder_test.go`
2017-04-23 15:59:20 -05:00