Skip to content

Conversation

@elezar
Copy link
Member

@elezar elezar commented Oct 11, 2024

This change switches to using the WithCache decorator for mounts instead of keeping track of a cache locally.

This addresses a race condition when using the mounts structure.

Fixes #731

@elezar elezar requested review from cdesiniotis and klueska October 11, 2024 13:59
@elezar elezar linked an issue Oct 11, 2024 that may be closed by this pull request
@elezar elezar added the must-backport The changes in PR need to be backported to at least one stable release branch. label Oct 11, 2024
@elezar elezar self-assigned this Oct 24, 2024
@elezar elezar removed the must-backport The changes in PR need to be backported to at least one stable release branch. label Feb 17, 2025
@elezar elezar force-pushed the use-with-cache-for-mounts branch from 7352a90 to b4c8eba Compare February 27, 2025 09:22
@elezar elezar force-pushed the use-with-cache-for-mounts branch from b4c8eba to 242af51 Compare March 13, 2025 11:04
@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 13, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@elezar elezar added this to the v1.18.0 milestone Mar 20, 2025
Copy link

@jgehrcke jgehrcke left a comment

Choose a reason for hiding this comment

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

Thank you. I trust you know what you are doing.

This change switches to using the WithCache decorator for
mounts instead of keeping track of a cache locally.

This addresses a race condition when using the mounts structure.

Signed-off-by: Evan Lezar <[email protected]>
@elezar elezar force-pushed the use-with-cache-for-mounts branch from 242af51 to 986f3db Compare April 2, 2025 14:29
@elezar elezar merged commit 7833723 into NVIDIA:main Apr 2, 2025
5 checks passed
@elezar elezar deleted the use-with-cache-for-mounts branch April 2, 2025 14:30
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.

The mounts discoverer cache usage is racey

2 participants