Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Error CodeError DefinitionError Description
 LOW_MEMORYServer does not have enough free memory to complete the operation
 UNCLASSIFIED_FAILUREThis error will be thrown as a last resort , if an exception cannot be classified. This error will then have to be investigated and correctly classified
 ENCODING_ERRORThere was an error whilst encoding a data entry (key / value)
 DECODING_ERRORThere was an error whilst decoding a data entry (key / value)

...

  • If an error is returned, any existing entry is left unmodified.
  • If there is no region matching the regionName, a REGION_NOT_FOUND ErrorResponse will be returned
  • If the provided key does not match the configured key-constraint on the region, a CONSTRAINT_VIOLATION ErrorResponse will be returned

 Errors

 

...

Error CodeError DefinitionError Description
 REGION_NOT_FOUNDNo Region exists for the name provided
 CONSTRAINT_VIOLATIONThe key-constraint on the region has been violated and incompatible

...

  • REGION_NOT_FOUND - if the region doesn’t exist.

...


GetAvailableServers

Description

 Returns a list of available servers, in the cluster, visible to the client.

Request

...

GetAvailableServersRequest
Field NameData typeDescriptionMandatory?
    

...

Response

...

servers

 

GetAvailableServersResponse
Field NameData typeDescriptionMandatory?Repeated
servers Server  A

...

type: repeated Server

...

list of servers that are available in the cluster to connect to.Y

Expected Behavior

  • Return a list of all available servers in the cluster that are visible to the client

Errors

...

 

Error CodeError DefinitionError Description
   

...


GetRegionNames

Description

 Returns a list of regions available through this server.

...