-
Notifications
You must be signed in to change notification settings - Fork 223
Scheduling no resource version compare #76
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
Conversation
@@ -119,10 +114,11 @@ void scheduleEvent(CustomResourceEvent event) { | |||
void eventProcessingFinishedSuccessfully(CustomResourceEvent event) { | |||
try { | |||
lock.lock(); | |||
log.debug("Even processing successful for event: {}", event); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
if (notScheduledYetEvent != null) { | ||
scheduleEvent(notScheduledYetEvent); | ||
if (eventStore.containsNotScheduledEvent(event.resourceUid())) { | ||
log.debug("Scheduling not yet scheduled after previous successful processing: {}", event); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't make sense.. try to rephrase
scheduleEvent(notScheduledYetEvent); | ||
if (eventStore.containsNotScheduledEvent(event.resourceUid())) { | ||
CustomResourceEvent notScheduledEvent = eventStore.removeEventNotScheduledYet(event.resourceUid()); | ||
log.debug("Even processing failed. Scheduling the most recent event. Failed event: {}," + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
} else { | ||
log.debug("Even processing failed. Attempting to re-schedule the event: {}", event); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
No description provided.