Skip to content

Use Protocol Version instead of server_agent for Bolt V4 connections #708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

gjmwoods
Copy link
Contributor

@gjmwoods gjmwoods commented May 21, 2020

Since Server v4.0 the server agent received in response to the Hello message is unreliable. Instead, since the server and Bolt protocol versions are aligned, we use the protocol version instead for all connections to Server 4.0 and higher.

Note: A future refactoring is required when support for 3.5 is dropped. The name serverVersion filed of the netty channel no longer reflects its true purpose since it essentially becomes protocolVersion. We keep the current naming for now since the split in meaning between 3.5 and 4.X+

…message is unreliable. Instead, since the server and Bolt protocol versions are aligned, we use the protocol version instead for all connections to Server 4.0 and higher
@gjmwoods gjmwoods merged commit c34705d into neo4j:4.0 May 27, 2020
@gjmwoods gjmwoods deleted the 4.0-remove-reliance-on-server-agent-for-version branch May 27, 2020 08:02
gjmwoods added a commit to gjmwoods/neo4j-java-driver that referenced this pull request May 27, 2020
…message is unreliable. Instead, since the server and Bolt protocol versions are aligned, we use the protocol version instead for all connections to Server 4.0 and higher (neo4j#708)

Note: A future refactoring is required when support for 3.5 is dropped. The name serverVersion filed of the netty channel no longer reflects its true purpose since it essentially becomes protocolVersion. We keep the current naming for now since the split in meaning between 3.5 and 4.X+
gjmwoods added a commit to gjmwoods/neo4j-java-driver that referenced this pull request May 27, 2020
…message is unreliable. Instead, since the server and Bolt protocol versions are aligned, we use the protocol version instead for all connections to Server 4.0 and higher (neo4j#708)

Note: A future refactoring is required when support for 3.5 is dropped. The name serverVersion filed of the netty channel no longer reflects its true purpose since it essentially becomes protocolVersion. We keep the current naming for now since the split in meaning between 3.5 and 4.X+
gjmwoods added a commit that referenced this pull request May 28, 2020
…message is unreliable. Instead, since the server and Bolt protocol versions are aligned, we use the protocol version instead for all connections to Server 4.0 and higher (#708) (#718)

Note: A future refactoring is required when support for 3.5 is dropped. The name serverVersion filed of the netty channel no longer reflects its true purpose since it essentially becomes protocolVersion. We keep the current naming for now since the split in meaning between 3.5 and 4.X+
gjmwoods added a commit to gjmwoods/neo4j-java-driver that referenced this pull request Jul 16, 2020
…e Hello message is unreliable. Instead, since the server and Bolt protocol versions are aligned, we use the protocol version instead for all connections to Server 4.0 and higher (neo4j#708) (neo4j#718)"

This reverts commit 31d3495.
gjmwoods added a commit to gjmwoods/neo4j-java-driver that referenced this pull request Jul 16, 2020
…e Hello message is unreliable. Instead, since the server and Bolt protocol versions are aligned, we use the protocol version instead for all connections to Server 4.0 and higher (neo4j#708) (neo4j#718)"

This reverts commit 31d3495.
gjmwoods added a commit that referenced this pull request Jul 17, 2020
…e Hello message is unreliable. Instead, since the server and Bolt protocol versions are aligned, we use the protocol version instead for all connections to Server 4.0 and higher (#708) (#718)" (#746)

This reverts commit 31d3495.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant