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

made changes to AlterUser to accept maxUserConnections #723

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AayushVinayDev
Copy link

This is a PR to address the issue reported in #685.

To handle the users more dynamically, I've extended the AlterUser() to accept maxUserConnections. For this I've also made maxUserConnections mutable.

Please let me know of my shortcomings :D

I'll be happy to tweak this further if needed.

@mmontes11 mmontes11 self-requested a review July 18, 2024 09:46
Copy link
Member

@mmontes11 mmontes11 left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your contribution! 🙏🏻

You are on the right track to implement this. I've left a couple of indications. Let me know if you need further help.

api/v1alpha1/user_types.go Show resolved Hide resolved
internal/controller/user_controller.go Show resolved Hide resolved
pkg/sql/sql.go Show resolved Hide resolved
pkg/controller/replication/config.go Show resolved Hide resolved
@mmontes11
Copy link
Member

mmontes11 commented Jul 18, 2024

@AayushVinayDev it would be great if you could add a test to prove that this functionallity works as expected.

Also, make sure you rebase with main.

Copy link

github-actions bot commented Oct 8, 2024

This PR is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added stale and removed stale labels Oct 8, 2024
Copy link

This PR is stale because it has been open 60 days with no activity.

@github-actions github-actions bot added the stale label Dec 16, 2024
@mmontes11 mmontes11 removed the stale label Dec 16, 2024
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