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

DEVPROD-12451 Update last communication time during host reprovisioning #8507

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

hadjri
Copy link
Contributor

@hadjri hadjri commented Nov 22, 2024

DEVPROD-12451

Description

When un-quaranting a static host that has been quarantined for a while, sometimes it can get immediately re-quarantined because of a race:

  • this host monitoring job auto-quarantines the host for having a LastCommunicatedTime from too long ago, before the re-provisioning job (which gets queued immediately when the host is un-quarantined) can update LastCommunicatedTime.

This change updates a host's LastCommunicatedTime right at the time it gets marked as reprovisioning to fix this.

Testing

Added a check to an existing unit test

@hadjri hadjri requested a review from a team November 22, 2024 22:16
@hadjri hadjri merged commit 816ec97 into evergreen-ci:main Nov 27, 2024
10 checks passed
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