Matt Jaffee
2202bf467b
unexport view stuff
2018-07-02 17:18:00 -05:00
Matt Jaffee
cff01f46c2
unexport fragment.go stuff
2018-07-02 14:50:33 -05:00
Matt Jaffee
009242fef9
unexport more Holder stuff (gorename)
2018-07-02 14:07:06 -05:00
Matt Jaffee
9995b0032e
unexport Holder.Fragment, HolderSyncer and HolderCleaner
2018-07-02 14:00:31 -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
7376befddd
Merge branch 'develop' into even-more-unexport
2018-07-02 09:12:30 -05:00
Travis Turner
0dca89ca4f
Merge branch 'develop' into http-responses
2018-07-02 08:37:37 -05:00
Matt Jaffee
9ea300da20
unexport broadcaster
2018-07-02 08:34:58 -05:00
Matt Jaffee
7ec9c97e46
fixup nopAttrStore.
...
Methods no longer take pointer receiver, and NewNopAttrStore always returns a
reference to the same global object (which is no longer exported).
2018-07-02 08:30:48 -05:00
Matt Jaffee
7801b81b10
unexport cluster (gorename)
2018-07-02 07:56:51 -05:00
Travis Turner
c0b5ad316d
use constructors for errors
2018-07-01 19:54:10 -05:00
Travis Turner
8a5f5dd737
return an error when deleting a non-existent index or field
2018-07-01 19:54:09 -05:00
Travis Turner
7dd1f50a75
consolidate http errors into a shared response type
2018-07-01 19:54:09 -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
Ben Johnson
060254e0d6
Key-to-ID Translation
...
This commit adds id-to-key translation to make it easier for users
to provide non-integer identifiers for rows & columns.
2018-06-15 16:45:05 -06:00
Cody Soyland
415b4de110
Merge branch 'develop' into http-inversion-2
2018-06-13 21:38:30 -05:00
Travis Turner
7d91261968
un-export some package level constants
2018-06-13 17:18:52 -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
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
15cb391570
first pass at un-exporting Fragment methods
2018-06-07 11:49:39 -05:00
Travis Turner
2a9b1e9e5b
final Frame to Field rename
2018-06-06 01:27:12 -05:00
Travis Turner
cb7487e34d
change all instances of internal Frame to Field
2018-06-05 23:24:24 -05:00
Travis Turner
9db359d34a
GoRename Frame to Field in holder.go
2018-06-05 22:36:19 -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
47f7beaecc
WIP removing inverse
2018-05-25 17:18:38 -05:00
Matt Jaffee
652b5695e1
fix redundant arguments to make() calls
2018-05-15 10:56:24 -05:00
Matt Jaffee
616545cd5c
remove input definition, add install-stringer to Makefile
...
also removes one line of unreachable code in cluster.go (unrelated)
2018-05-14 17:14:20 -05:00
alanbernstein
64ebae3a8a
Merge branch 'master' into wrap-errors-index
2018-05-10 18:57:44 -05:00
Alan Bernstein
a172720531
Update error check string
2018-05-10 11:59:40 -05:00
Alan Bernstein
b74e5e7ec7
Update error message
2018-05-09 10:46:16 -05:00
Alan Bernstein
4f51373734
Wrap errors in holder
2018-05-08 19:43:36 -05:00
Cody Soyland
3c48efb5b5
Merge pull request #1246 from codysoyland/391-log-startup
...
Log time/version to startup log (Fixes #391 )
2018-05-04 12:48:15 -05:00
Cody Soyland
85f90ac8fc
Log time/version to startup log ( Fixes #391 )
2018-05-03 16:11:43 -05:00
Cody Soyland
18d7664fc4
Rename ID file to ".id" for consistency with existing data files.
2018-05-02 15:04:12 -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
04f5d5875c
api docs, rename funcs, refactor usage of internal
...
All exported funcs in api.go are now documented
Several poorly named methods of API and Cluster were renamed. Particularly, the
word Fragment was often changed to Slice in cases where it was really a slice
being specified and not a fragment.
several methods which received or returned internal data structures have been
refactored to be more opaque.
Deprecation logging was added to input definition methods.
2018-04-12 11:28:35 -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
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
Cody Soyland
f9efa6c579
Use type func(string) AttrStore in place of interface AttrStoreGenerator for simplicity
2018-03-23 13:57:29 -05:00
Travis Turner
b66bedd1ef
put BoltDB behind AttrStore interface
2018-03-19 11:30:41 -05:00
Travis Turner
216ba7a41e
Use NodeID instead of URI for node identification
2018-02-02 15:58:46 -06:00