Skip to content
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

Make AddressSet retain resolved addresses #1034

Merged
merged 1 commit into from
Oct 15, 2021

Conversation

injectives
Copy link
Contributor

@injectives injectives commented Oct 14, 2021

Routing table address set update may override resolved router address. This leads to routing connection pool closures. This update aims to optimise this.

@injectives injectives force-pushed the feauture/resolved branch 3 times, most recently from 46ea128 to 8639327 Compare October 14, 2021 13:16
Routing table address set update may override resolved router address. This leads to routing connection pool closures. This update aims to optimise this.
@injectives injectives merged commit e7b8c21 into neo4j:4.4 Oct 15, 2021
@injectives injectives deleted the feauture/resolved branch October 15, 2021 07:55
injectives added a commit to injectives/neo4j-java-driver that referenced this pull request Oct 29, 2021
Routing table address set update may override resolved router address. This leads to routing connection pool closures. This update aims to optimise this.
injectives added a commit that referenced this pull request Oct 29, 2021
…alSummaryCounters update and Testkit launch fix (#1052)

* Fix sync and async testkit backends launch (#1027)

* Add toString to InternalSummaryCounters (#1031)

* Make AddressSet retain resolved addresses (#1034)

Routing table address set update may override resolved router address. This leads to routing connection pool closures. This update aims to optimise this.

* Improve connection pool concurrent access (#1035)

This update introduces read/write lock for internal pool map access management. For instance, the `retainAll` method is executed with write lock.

* Replace AddressSet with standard Java collections (#1037)

* Replace AddressSet with standard Java collections

This update also prevents unnecessary connection pool closures by keeping `disused` addresses until next routing table update and reusing them.

* Update reader, writer and router addresses handling and change type
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.

2 participants