Michael Baird
81525f2d4a
move the StateHandler interface from the Gossip package back to Pilosa and us this interface for the Handler to access the LocalState
2017-04-20 16:52:05 -05:00
Michael Baird
989e0273be
Merge remote-tracking branch 'upstream/master' into metrics
2017-04-20 16:35:21 -05:00
Michael Baird
9cff292bed
Merge remote-tracking branch 'upstream/master' into metrics
2017-04-20 16:35:21 -05:00
Michael Baird
3f43b0d496
Merge remote-tracking branch 'travis/messenger-rebase' into metrics
...
# Conflicts:
# server.go
2017-04-20 16:00:17 -05:00
Michael Baird
41921ff75d
Merge remote-tracking branch 'travis/messenger-rebase' into metrics
...
# Conflicts:
# server.go
2017-04-20 16:00:17 -05:00
Travis
3487bc373f
group Server interface implementation function together
2017-04-20 15:45:00 -05:00
Travis
3f3c40e241
group Server interface implementation function together
2017-04-20 15:45:00 -05:00
Travis
a4921ac55a
remove leftover Receive() method from gossip implementation
2017-04-20 15:14:11 -05:00
Travis
281e6e8e0f
remove leftover Receive() method from gossip implementation
2017-04-20 15:14:11 -05:00
Michael Baird
539b134e10
Store the node state information in Cluster
...
Access the overall cluster state info via the /status endpoint
2017-04-20 14:23:24 -05:00
Michael Baird
070a27aa31
Store the node state information in Cluster
...
Access the overall cluster state info via the /status endpoint
2017-04-20 14:23:24 -05:00
Travis
95bd4913c8
adjusted DBOptions/FrameOptions logic and removed some unused tests
2017-04-20 10:41:17 -05:00
Travis
749ffdcf65
adjusted DBOptions/FrameOptions logic and removed some unused tests
2017-04-20 10:41:17 -05:00
Travis Turner
cf7082f235
Merge pull request #462 from travisturner/import-inverseenabled
...
Don't try to create inverse views on Import() when inverseEnabled is …
2017-04-19 18:10:07 -05:00
Travis Turner
f6f1252ff7
Merge pull request #462 from travisturner/import-inverseenabled
...
Don't try to create inverse views on Import() when inverseEnabled is …
2017-04-19 18:10:07 -05:00
Travis
6268c96264
add a client test for imports to an inverseEnabled frame
2017-04-19 18:05:22 -05:00
Travis
5c50ab8f0e
add a client test for imports to an inverseEnabled frame
2017-04-19 18:05:22 -05:00
Travis
35383b9b9c
Don't try to create inverse views on Import() when inverseEnabled is false
2017-04-19 17:27:08 -05:00
Travis
1ed4ecef25
Don't try to create inverse views on Import() when inverseEnabled is false
2017-04-19 17:27:08 -05:00
Michael Baird
b0b6e2c544
measure runtime stats
...
added package to measure when garbage collection occurs
2017-04-19 17:22:40 -05:00
Michael Baird
7da469d62d
measure runtime stats
...
added package to measure when garbage collection occurs
2017-04-19 17:22:40 -05:00
Michael Baird
c4334b1ac6
The server uses the stats service specified in the config
2017-04-19 17:22:00 -05:00
Michael Baird
ef5fbddf37
The server uses the stats service specified in the config
2017-04-19 17:22:00 -05:00
Michael Baird
fea18bc14b
specify the StatsD host string
2017-04-19 17:21:08 -05:00
Michael Baird
8fe0ee47cc
specify the StatsD host string
2017-04-19 17:21:08 -05:00
Travis
d2e68b2980
adjust some handler comments. remove debugging line
2017-04-19 17:08:10 -05:00
Travis
c101f647c8
adjust some handler comments. remove debugging line
2017-04-19 17:08:10 -05:00
Travis
5a80685052
add support for CreateDB and CreateFrame without POST data (i.e. use defaults)
2017-04-19 16:59:56 -05:00
Travis
f3189889d4
add support for CreateDB and CreateFrame without POST data (i.e. use defaults)
2017-04-19 16:59:56 -05:00
Michael Baird
465f9806c6
fix server tests to bind to new node if changing the node set
2017-04-19 16:52:49 -05:00
Michael Baird
df2e282bdf
fix server tests to bind to new node if changing the node set
2017-04-19 16:52:49 -05:00
Michael Baird
6f1e3c9275
add stats metric options to config
2017-04-19 16:51:55 -05:00
Michael Baird
20bc2396f8
add stats metric options to config
2017-04-19 16:51:55 -05:00
Michael Baird
40cb2adef6
add cache stats
2017-04-19 16:27:39 -05:00
Michael Baird
8440bc8b3c
add cache stats
2017-04-19 16:27:39 -05:00
Travis
caf35bb4d9
rename messenger_test to align with broadcast
2017-04-19 16:07:30 -05:00
Travis
68d9d1543f
rename messenger_test to align with broadcast
2017-04-19 16:07:30 -05:00
Travis
dcaf7617de
changed some json tag names to Lower Camel Case to be consistent with the rest
2017-04-19 14:01:46 -05:00
Travis
a6c6f4d1c1
changed some json tag names to Lower Camel Case to be consistent with the rest
2017-04-19 14:01:46 -05:00
Travis
25e649add8
remove cacheSize argument from NewFragment()
2017-04-19 11:41:41 -05:00
Travis
26b524a60e
fix some tests and update glide.lock
2017-04-19 11:35:02 -05:00
Travis
4c8e46e17f
change Config.Nodes to Config.Hosts
2017-04-19 10:37:00 -05:00
Travis
b4a69be751
Add support for Node.InternalHost.
...
This was required for the HTTPBroadcaster to run locally on different InternalPorts.
2017-04-19 10:37:00 -05:00
Matt Jaffee
a11daecfcb
remove done TODO
2017-04-19 10:36:28 -05:00
Matt Jaffee
d10d8d94e1
simplify config structure - remove gossip sub-struct
2017-04-19 10:36:28 -05:00
Matt Jaffee
0da580d0e9
change broadcaster-type to type
...
It is nested under "cluster" in the config, and it controls cluster membership
as well as broadcasting, so I think type is more appropriate. Also, brevity.
2017-04-19 10:36:28 -05:00
Matt Jaffee
6e8bf5dcc1
move http messenger stuff to separate package
2017-04-19 10:36:27 -05:00
Matt Jaffee
d2621709f1
move NodeSet out of cluster.go into broadcast and messenger
...
HTTP implementation will be split into separate package.
2017-04-19 10:36:27 -05:00
Matt Jaffee
802fd32988
separate broadcast interfaces from implementations
...
interfaces are in broadcast.go and http implementations in messenger.go (gossip
is already in a separate package). Next changes will bring in the HTTP nodestate
implementation, and separate the http implementation into a separate package.
2017-04-19 10:36:27 -05:00
Matt Jaffee
c4d3bde501
move gossip code to separate package
2017-04-19 10:36:27 -05:00