[
https://issues.apache.org/jira/browse/IGNITE-5169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15996853#comment-15996853
]
Vladimir Ozerov commented on IGNITE-5169:
-----------------------------------------
Request format:
1. {{BYTE}} - command (must be {{HANDSHAKE}})
2. {{SHORT}} - major version
3. {{SHORT}} - minor version
4. {{SHORT}} - maintenance version
5. Version-specific payload (see {{OdbcNioListener.prepareContext}})
Response format:
1. {{BOOLEAN}} - success flag, then if failed:
2. {{SHORT}} - node's protocol major version
3. {{SHORT}} - node's protocol minor version
4. {{SHORT}} - node's protocol maintenance version
5. {{STRING}} - optional error message
In case of non-success result client should either throw an exception or re-try
handshake with downgraded version (and payload)
> ODBC: Rework handshake to allow different handlers
> --------------------------------------------------
>
> Key: IGNITE-5169
> URL: https://issues.apache.org/jira/browse/IGNITE-5169
> Project: Ignite
> Issue Type: Task
> Components: jdbc-driver, odbc, SQL
> Reporter: Vladimir Ozerov
> Assignee: Igor Sapego
> Fix For: 2.1
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)