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

Adds lock to FM provider #882

Merged
merged 7 commits into from
Apr 23, 2024
Merged

Adds lock to FM provider #882

merged 7 commits into from
Apr 23, 2024

Conversation

LuAbelt
Copy link
Contributor

@LuAbelt LuAbelt commented Mar 28, 2024

Adds a lock to the feature model provider.

When running experiments on slurm, it can happen that multiple nodes fetch the feature model repository at the same time. As nodes may use a shared feature model repository (E.g. on /scratch/) this can lead to issues.

This is no issue if the feature model repository is already up-to-date, however if there are any upstream changes this leads to errors in the fetch on some nodes and subsequent failure of the slurm jobs.

@LuAbelt LuAbelt requested review from vulder and boehmseb March 28, 2024 14:04
Copy link

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.49%. Comparing base (982bf9b) to head (6bfa515).
Report is 2 commits behind head on vara-dev.

❗ Current head 6bfa515 differs from pull request most recent head f26e1bb. Consider uploading reports for the commit f26e1bb to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##           vara-dev     #882   +/-   ##
=========================================
  Coverage     66.49%   66.49%           
=========================================
  Files           344      344           
  Lines         27935    27938    +3     
=========================================
+ Hits          18575    18578    +3     
  Misses         9360     9360           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Co-authored-by: Florian Sattler <[email protected]>
@boehmseb boehmseb merged commit 62cbd3a into vara-dev Apr 23, 2024
8 checks passed
@boehmseb boehmseb deleted the f-FM-Provider-Lock branch April 23, 2024 07:21
Sinerum pushed a commit that referenced this pull request Sep 3, 2024
When running experiments on slurm, it can happen that multiple nodes fetch the feature model repository at the same time. As nodes may use a shared feature model repository (E.g. on /scratch/) this can lead to issues.

This is no issue if the feature model repository is already up-to-date, however if there are any upstream changes this leads to errors in the fetch on some nodes and subsequent failure of the slurm jobs.


---------

Co-authored-by: Lukas Abelt <[email protected]>
Co-authored-by: Florian Sattler <[email protected]>
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.

3 participants