Skip to content

Optimize on_secret_create & on_innodbcluster_field_backup_schedules handlers #14

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

Closed
wants to merge 6 commits into from

Conversation

nlnjnj
Copy link

@nlnjnj nlnjnj commented Jun 29, 2022

Optimize on_secret_create handler:
  the original register handlers all secrets' creation or updating events, then kopf framework transfer every log to k8s event, which overdriving the etcd, in some case this would even trigger OOM on etcd server which cause the k8s master break down.

Optimize on_innodbcluster_field_backup_schedules handler:
  when the InnoDBCluster is not created this handler also generates lots of events, I think we should involve a handler dynamically.
when the first InnoDBCluster created, then the handler registers.

nlnjnj added 4 commits June 29, 2022 09:50
  the original register handlers all secrets' creation or updating events, then kopf framework transfer ever log to k8s event, which overdriving the etcd, in some case this would even trigger OOM on etcd server.
  when the InnoDBCluster is not created this handler also generates lots of events, I think we should involve a handler dynamically.
@nlnjnj nlnjnj closed this Jun 29, 2022
@nlnjnj nlnjnj reopened this Jun 29, 2022
@nlnjnj
Copy link
Author

nlnjnj commented Jun 29, 2022

Update log message

@mysql-oca-bot
Copy link

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at https://oca.opensource.oracle.com/
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

@nlnjnj
Copy link
Author

nlnjnj commented Jun 29, 2022

missing a fix on [sidecar]

@nlnjnj
Copy link
Author

nlnjnj commented Jun 29, 2022

My Agreements:
Email: nlnjnj@gmail.com

@mysql-oca-bot
Copy link

Hi, there was no response to our request to sign an OCA or confirm the code is submitted under the terms of the OCA. As such this request will be closed.
Thanks

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