Cody Soyland
e69be0b980
Merge branch 'master' into update-tls-config
2018-05-29 11:56:31 -05:00
Yuce Tekol
998ebf43f9
Merge branch 'master' into update-tls-config
2018-05-29 19:01:51 +03:00
Cody Soyland
31c4e18d8d
Merge branch 'master' into cors-support
2018-05-29 10:26:19 -05:00
Cody Soyland
77a5c6f811
Merge branch 'master' into cors-support
2018-05-29 08:18:26 -05:00
Yuce Tekol
82f2f14503
Removed backup/restore stuff
2018-05-28 16:54:32 +03:00
Matt Jaffee
47f7beaecc
WIP removing inverse
2018-05-25 17:18:38 -05:00
Yuce Tekol
ad29269a7f
Add tls tag
2018-05-25 16:03:53 +03:00
Yuce Tekol
5ee2c45d4a
Match TLSConfig to the docs
2018-05-25 10:41:42 +03:00
Cody Soyland
1cbc626c1c
Modify comments, change default on handler.allowed-origins
2018-05-24 15:32:09 -05:00
Cody Soyland
1a9beb0916
Add CORS support to handler.
2018-05-24 08:42:34 -05:00
Todd Gruben
fb7bf11825
Bit -> Column migration
2018-05-23 15:05:22 -05:00
Travis Turner
12352e598f
increase cluster poll in tests from 2s to 10s
2018-05-17 15:55:11 -05:00
Travis Turner
e7e3e2def5
adjust cluster state tests so they aren't so dependent upon a sleep before checking state
2018-05-16 13:06:23 -05:00
Cody Soyland
76fa64df79
Merge pull request #1285 from codysoyland/vendor-btree
...
B+Tree Containers / Enterprise
2018-05-15 16:32:15 -05:00
Travis Turner
b363debd83
replace "Pilosa starting..." log line
2018-05-15 12:52:49 -05:00
Cody Soyland
b1eb137a20
Add missing license headers.
2018-05-15 12:26:33 -05:00
Cody Soyland
e8fcb0f055
Use NewFileBitmap for tests to test btree/slice containers separately.
2018-05-15 11:22:19 -05:00
Cody Soyland
513c7fd705
B+tree integration work.
...
Export necessary vars from roaring to fix b+tree containers implementation.
Clean up naming.
Use constructor replacement for enterprise integration.
2018-05-14 17:32:30 -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
Yuce Tekol
90464dc01a
Merged with master
2018-05-11 16:41:36 +03:00
alanbernstein
449f3774b4
Merge branch 'master' into wrap-errors-api
2018-05-10 17:25:44 -05:00
Alan Bernstein
7a38c98901
Wrap errors in api
2018-05-10 11:24:51 -05:00
alanbernstein
648dedacf7
Merge pull request #1263 from alanbernstein/wrap-errors-server
...
Wrap errors in server/
2018-05-10 10:27:02 -05:00
Travis Turner
e4c11a28b1
make sure gossipMemberSet.Logger is set during server setup
2018-05-09 10:42:11 -05:00
Yuce Tekol
24c9699432
Merge pull request #1242 from yuce/dont-create-tilde-directory-when-running-tests
...
Make sure ~ is expanded in NewServer; BroadcastReceiver uses temp path
2018-05-09 09:53:02 +03:00
Alan Bernstein
f0b6fa4ee8
Wrap errors in server/
2018-05-08 17:20:06 -05:00
Matthew Jaffee
992c3e8bdd
WIP - adding more locking to Cluster
2018-05-04 10:48:57 -07:00
Yuce Tekol
244c4e894e
Remove ~ expanding code from Command.Start
2018-05-02 17:33:51 +03:00
Yuce Tekol
878b55ec40
Removes /id and /hosts endpoints. Augments /status endpoint with the node local ID.
2018-05-01 13:04:49 +03: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
f99479932d
rename server Run to Start to better reflect functionality
2018-04-23 16:28:24 -05:00
Matthew Jaffee
9deefbaefc
unexport setupLogger and simplify
2018-04-23 16:25:03 -05:00
Matthew Jaffee
1e05a6d627
fix getListener comment
2018-04-23 15:15:02 -05:00
Matthew Jaffee
9f1720f01d
unexport stuff in pilosa.Server
...
refactor gossip.NewGossipMemberset to not take Server
2018-04-23 15:12:23 -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
Matthew Jaffee
23f6acc165
panic if NewCommand errors on NewServer
2018-04-19 15:37:08 -05:00
Matthew Jaffee
876ed56e30
move pilosa.Config to pilosa/server.Config
...
step 1 of #1203
The Config object is really just a specification of the options to pilosa
server, so it makes sense to have it in that package.
2018-04-19 14:51:42 -05:00
Travis Turner
0a8d573fb3
WIP: Remove SecurityManager. Implement api restrictions in api package.
2018-04-16 17:12:28 -05:00
Matthew Jaffee
3f303d1098
remove global defaults from config.go
...
these were occaisionally referenced elsewhere in the codebase - in all but one
case, there were workarounds that are actually better I think.
In the one case there wasn't I created a single top level DefaultConfig object
which is instantiated with all the default values and can be referred to if
necessary.
There was a bug in fragment.go with the way MaxWritesPerRequest was treated if
it was 0. Elsewhere, 0 meant no limit, but here, it would have caused a division
by 0.
Changed the default metrics provider from "nop" to "none", although "nop" will
still work. Previously, any value other than "statsd" or "expvar" was treated as
"nop", but I've changed this behavior to return an error if an invalid string is
provided. I think this is better behavior, because in the case that someone
bothered to change the default, they were probably interested in actually
getting stats, and might be annoyed when it silently failed.
2018-04-12 19:52:48 -05:00
Travis Turner
0d27139c04
test the inverseSlice fix
2018-04-11 12:51:26 -05:00
Matthew Jaffee
07610560df
Merge branch 'master' into 1151-http-refactor
2018-04-10 08:10:25 -05:00
Matthew Jaffee
f8cb579187
get tests passing
2018-04-09 14:29:43 -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
8336784d57
More API updates; removed Cluster, Holder, etc from Handler
2018-04-03 15:01:36 -07:00
Travis Turner
5c52e48b12
change NewStandardLogger() to only take an io.Writer
2018-03-27 10:30:41 -05:00
Travis Turner
36ce12da59
This commit adds a Close() method to the pilosa.Logger interface,
...
and it moves the file handling (open/close) out of the main Command and
into the interface implementation. The Logger implementations both have
a `Logger()` method which returns their internal logger (`*log.Logger`).
This is because the gossip setup (memberlist) needs a `*log.Logger` for
its configuration.
2018-03-27 08:40:05 -05:00
Travis Turner
fd8040e699
remove LogOutput and instead close any logger that implements io.Closer
2018-03-27 08:40:05 -05:00
Travis Turner
d113ebe147
Support --verbose logging
2018-03-27 08:40:05 -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