Table of Contents |
---|
Locator Connections
Locator connection have slightly different behavior from cache server connections. They still do the normal socket establishment, followed by protocol specification byte (110 for protobuf), followed by major version byte (currently 1), but there is currently no handshaking or authentication on locator connections. Additionally, a connection on a locator is only valid for a single protobuf message, the locator will close the connection after it sends back any response object.
GetAvailableServers
Description
Returns a list of servers, in the cluster, visible to the client.
Request
This request takes no parameters.
GetAvailableServersRequest | |||
Field Name | Data type | Description | Mandatory? |
---|---|---|---|
Response
GetAvailableServersResponse | ||||
Field Name | Data type | Description | Mandatory? | Repeated |
---|---|---|---|---|
servers | Server | A list of servers that are available in the cluster to connect to. | Y | Y |
Expected Behavior
- Return a list of all available servers in the cluster that are visible to the client
Errors
Error Code | Error Definition | Error Description |
---|---|---|