Skip to content

Upgrade the version from 8.0.3 to 9.0.2#7

Merged
Sfurti-yb merged 11 commits into
9.0.2.xfrom
9.0.2.x-temp
Sep 25, 2025
Merged

Upgrade the version from 8.0.3 to 9.0.2#7
Sfurti-yb merged 11 commits into
9.0.2.xfrom
9.0.2.x-temp

Conversation

@Sfurti-yb
Copy link
Copy Markdown
Collaborator

@Sfurti-yb Sfurti-yb commented Sep 16, 2025

Changes made:
Rebased the smart driver changes on top of v9.0.2 of upstream driver
Fixed issues with fallback to upstream behaviour as well as better node available behaviour as a result of the previous change.

Tests done:
Uniform load balance tests (LoadBalanceTests.cs)
Topology Aware Tests (FallBackTopologyTests.cs)
RR support Tests

Steps followed: https://docs.google.com/document/d/11HXDKzKjl4f2cduPK8IfUfedpfDoLiKiSQpPtjTD2ek/edit?usp=sharing

Sfurti-yb and others added 9 commits February 26, 2025 13:48
* First draft for the smart feature

* TopologyAwareDataSource Code

* Adding Refresh Interval + Changes in Fallback toology

* Fallback tests + minor improvements

* Review comments + Multiple host in URL

* Minor changes to refresh

* Review comments

* Improved the tests + updated the README

* MultiThreading bug fix

* Review Comments

* Fallback Test cases + fallback topology fix

* Change namespace from Npgsql to YBNpgsql

* Changing the version + Assembly name

* Renaming namespace in new files

* Renaming namespace in few more files

* Preparing for release

* Fix for the fallback issue

* Resolved some build issues

* Added the flags for supression of sqls

* Change support of Unlisten and Advisory Locks to false

* Changed the method for retrieving of allowed placement values

* Removed local package source from Nuget.config + Added the new connection properties to Readme

---------

Co-authored-by: Sfurti Sarah <ssarah@Aadhas-MacBook-Pro.local>
Co-authored-by: Amogh Shetkar <ashetkar@yugabyte.com>
* Changed PackageIDs and AssemblyName for Nuget publish
…es (#6)

* Initial changes to ClusterAwareLoadBalancer for RR support

* Initial changes for RR support

* Test cleanup

* Addressed the review comments

* Modified tests to include client side verification + Check if connections are closed properly

* Make GetLoad static

* Changes as per review comments

* Refactored the tests to add method call in place of code repititions

* Format the new code
@Sfurti-yb Sfurti-yb requested a review from ashetkar September 16, 2025 13:19
@Sfurti-yb Sfurti-yb self-assigned this Sep 16, 2025
Comment thread test/Npgsql.Tests/YBLoadBalancerTests.cs Outdated
@ashetkar
Copy link
Copy Markdown
Collaborator

Please update the README with details on the smart feature. You can refer to the READMEs of other drivers (pgjdbc/pgx/psycopg2).
Also, include steps to do the build and run the tests.

@Sfurti-yb
Copy link
Copy Markdown
Collaborator Author

Please update the README with details on the smart feature. You can refer to the READMEs of other drivers (pgjdbc/pgx/psycopg2). Also, include steps to do the build and run the tests.

The Readme already has load balance features updated

@Sfurti-yb Sfurti-yb merged commit 9488442 into 9.0.2.x Sep 25, 2025
0 of 10 checks passed
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