Versions Compared

Key

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

...

Request
4 bytesMagic number 49 47 4E 49, or "IGNI". Helps identifying misconfigured SSL or other apps probing the port.
intPayload length
intVersion major
intVersion minor
intVersion patch
intClient code (1 for JDBC, 2 for general-purpose client)
binFeatures (bitmask)
map (int → string → any)Extensions (auth, attributes, etc). Server can skip unknown extension data (when client is newer).

...

Response
4 bytesMagic number 49 47 4E 49, or "IGNI". Helps identifying misconfigured SSL or different server on the port.
intPayload length
intServer version major
intServer version minor
intServer version patch
booleanSuccess flag
stringWhen success flag is false: Error message
binWhen success flag is true: Server features (bitmask)
map (int → string → any)When success flag is true: Extensions (auth, attributes, etc). Client can skip unknown extension data (when server is newer).

...

Operation codes and request ids are omitted everywhere below for brevity.

OP_CREATE_TABLE = 1

TODO: Schema, settings - extendable (map-based)

OP_GET_TABLE_NAMES = 2

TODO:

OP_GET_TABLE_INFO = 3

TODO

OP_DROP_TABLE = 4

TODO: by name

Risks and Assumptions

TODO

...