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

Fix key in connection pool #704

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Conversation

Madhu-1
Copy link
Member

@Madhu-1 Madhu-1 commented Nov 12, 2024

In the connection pool we store the connection with unique identifier, the pod name and the namespace is used as the key to the connection in the pool and GetLeaderByDriver get the leader based on the driver name and uses the identity of the leader which is pod name as the key to get the connection.

as its been 2 years to support legacy
endpoint, lets remove the support for it.

Signed-off-by: Madhu Rajanna <[email protected]>
@Madhu-1 Madhu-1 changed the title Fix connection key in connection pool Fix key in connection pool Nov 12, 2024
In the connection pool we store the connection
with unique identifier, the pod name and the
namespace is used as the key to the connection
in the pool and GetLeaderByDriver get the leader
based on the driver name and uses the identity
of the leader which is pod name as the key to
get the connection.

Signed-off-by: Madhu Rajanna <[email protected]>
@Madhu-1 Madhu-1 requested a review from nixpanic November 12, 2024 16:43
@mergify mergify bot merged commit 6821a14 into csi-addons:main Nov 13, 2024
15 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.

3 participants