[
https://issues.apache.org/jira/browse/IGNITE-2663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15199461#comment-15199461
]
Igor Sapego commented on IGNITE-2663:
-------------------------------------
Vladimir,
1) In parser we check protocol version because on the parser level we need to
make sure that we know how to de-serialize messages. However we pass handshake
message further to the handler even if the version check has failed so we can
answer to the client. If we'd throw an exception during parsing that would
result in closing the session without any messages.
2) Good catch. This is actually a bug.
> ODBC: Add protocol version to protocol packet header.
> -----------------------------------------------------
>
> Key: IGNITE-2663
> URL: https://issues.apache.org/jira/browse/IGNITE-2663
> Project: Ignite
> Issue Type: Sub-task
> Components: odbc
> Affects Versions: 1.5.0.final
> Reporter: Igor Sapego
> Assignee: Igor Sapego
> Fix For: 1.6
>
>
> Currently, there is no way for server to find out that ODBC driver uses
> incompatible protocol version. Consider adding {{protocolVersion}} field to
> ODBC protocol message header.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)