Table of Contents |
---|
Locator Connections
Locator connection have slightly different behavior from cache server connections. In version 1 of the protocol, locators are unable to maintain state on connections for round trip communication. They still need to start off their connection with a NewConnectionClientVersion to identify the connection as protobuf and specify the version, but this must be immediately followed by a locator request operation from below. If the locator is able to communicate with the given protocol version, it will handle the request operation, send the corresponding response, and then close the connection. If unable to communicate with the requested version, the locator will just close the connection.
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 |
---|---|---|