THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Response | |
---|---|
4 bytes | Magic number 49 47 4E 49, or "IGNI". Helps to identify misconfigured SSL or different server on the port. |
int | Payload length |
int | Server version major |
int | Server version minor |
int | Server version patch |
int | Error code (0 for success) |
string | Error message (when error code is not 0) |
int | When error code is 0: Server idle timeout |
string | When error code is 0: Server node id |
string | When error code is 0: Server node name (consistent id) |
bin | When error code is 0: Server features (bitmask) |
map (string → any) | When error code is 0: Extensions (auth, attributes, etc). Client can skip unknown extension data (when server is newer). |
...
Request | |
int | Operation code |
int | Request id, generated by client and returned as-is in response |
... | Operation-specific data |
Response | |||
int | Type = 0 | ||
int | Request id | ||
int | Flags (1 = partition assignment changed) | Error code (0 for success) | |
long | Observable timestamp (causality token) | ||
uuid or null | Trace id (null for success) | ||
int | Error code (when trace id is not null) | ||
string | Error message (when trace id is not null) | ||
string or null | Error stack trace (when trace id is not null) | ||
map or null | Error details (when trace id is not null | string | Error message (when error code is not 0) |
... | Operation-specific data (when trace id is null) |
Request or response without operation-specific data is called basic request or basic response below.
...
Response | |
---|---|
bool | whether a tuple with the given key exists |
...
Request | |
---|---|
bool | Read-only tx flag |
long | Observable timestamp (value from server - see standard response header) |
Response | |
---|---|
int | Transaction ID |
Request | |
---|---|
int | Transaction ID |
Basic response
Request | |
---|---|
int | Transaction ID |
Basic response
...