Skip to content

Conversation

@IrisIris
Copy link
Collaborator

No description provided.

@cerberus20
Copy link

Hi @IrisIris , does this PR fix #116 ? I tried running cronhpa with this PR changes, but it still has the same issue.

image

}

// GC will collect all jobs which ref is not exists and recycle.
func (cm *CronManager) GC() {
Copy link
Contributor

Choose a reason for hiding this comment

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

GC func will be calling multiple times when multiple cronhp CR be delete at the same time.
There will be many goruntine running GC function at same time.
Maybe GC function only need to be running only once in this case.

@ringtail
Copy link
Member

/LGTM

@ringtail ringtail merged commit efcd9c0 into AliyunContainerService:fix/gc-map Apr 26, 2023
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.

4 participants