Skip to content

Conversation

@vladvildanov
Copy link
Contributor

@vladvildanov vladvildanov commented Jun 4, 2025

Closes #1539

Automatic conn_uid assignment was added as a part of #1512, but it leads to a connection spikes in case if failover happens and connections is recreated by client. Since, conn_uid is a parameter option it must be assigned by user instead to avoid sharing of the socket between different clients within a single process.

@coveralls
Copy link

coveralls commented Jun 4, 2025

Coverage Status

coverage: 88.832% (-0.002%) from 88.834%
when pulling f1555b1 on vv-incising-connections-fix
into 5142011 on v2.x.

@vladvildanov
Copy link
Contributor Author

@tillkruss The general code coverage was slightly decreased because a line of code was removed

@vladvildanov vladvildanov requested a review from htemelski June 4, 2025 13:09
Copy link
Member

@tillkruss tillkruss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to port this to v3.x?

@vladvildanov
Copy link
Contributor Author

@tillkruss Absolutely, I will take care of this

@vladvildanov vladvildanov merged commit 07dc6ba into v2.x Jun 5, 2025
28 of 29 checks passed
@vladvildanov vladvildanov deleted the vv-incising-connections-fix branch June 5, 2025 06:54
vladvildanov added a commit that referenced this pull request Jun 5, 2025
* fix(conn): Removed automatic conn_uid assignment

* Restrict redis version

* Updated CHANGELOG.md

* Added test case

* Update CHANGELOG.md

---------

Co-authored-by: Till Krüss <[email protected]>
@vladvildanov vladvildanov mentioned this pull request Jun 5, 2025
vladvildanov added a commit that referenced this pull request Jun 5, 2025
* fix(conn): Removed automatic conn_uid assignment (#1551)

* fix(conn): Removed automatic conn_uid assignment

* Restrict redis version

* Updated CHANGELOG.md

* Added test case

* Update CHANGELOG.md

---------

Co-authored-by: Till Krüss <[email protected]>

* Removed duplicated disconnect

* Updated CHANGELOg.md

---------

Co-authored-by: Till Krüss <[email protected]>
@vladvildanov vladvildanov mentioned this pull request Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

5 participants