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

Sync fix 2 #54

Merged
merged 2 commits into from Jun 20, 2017
Merged

Sync fix 2 #54

merged 2 commits into from Jun 20, 2017

Conversation

lhh
Copy link
Collaborator

@lhh lhh commented Jun 20, 2017

No description provided.

lhh added 2 commits June 20, 2017 14:32
Signed-off-by: Lon Hohberger <lhh@redhat.com>
When dealing with large errata (hundreds of bugs), we were seeing
a behavior intermittently when not all bugs were being synced.
Additionally, on large errata, always syncing every bug was causing
performance issues. We identified two problems:

1) We were always syncing all bugzillas

2) The API we're hitting quietly limits bug input to 100 per
   call

This change only syncs newly-added bugs for a given erratum, but,
since it's conceivable that one might add over 100 bugs at once,
it splits the bugs to sync up into batches of 100 (max) at a time.

Signed-off-by: Lon Hohberger <lhh@redhat.com>
@lhh lhh merged commit c307aec into red-hat-storage:master Jun 20, 2017
@lhh lhh deleted the sync_fix_2 branch June 20, 2017 18:44
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.

None yet

1 participant