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

[feature] lazy sync the mysqluser. #660

Open
runkecheng opened this issue Aug 17, 2022 · 0 comments
Open

[feature] lazy sync the mysqluser. #660

runkecheng opened this issue Aug 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@runkecheng
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

At present, the Controller is regularly synchronize the mysqluser. Most of the time this operation is meaningless.

 2022-08-17T15:36:32.844776+08:00 5351 [Warning] Following users were specified in CREATE USER IF NOT EXISTS but they already exist. Corresponding entry in binary log used default authentication plugin 'mysql_native_password' to rewrite authentication information(if any) for them: 'super_user'@'%'

Describe the solution you'd like

Operator should not care of whether the User has been deleted through other ways. This can reduce the SQL operation of Operator.

Describe alternatives you've considered

add a option which can adjust policy of force sync.

Additional context

@runkecheng runkecheng added the enhancement New feature or request label Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant