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

feat(torture): integrate with trickfs #768

Open
wants to merge 1 commit into
base: pep-trickfs-enospc
Choose a base branch
from

Conversation

pepyakin
Copy link
Contributor

and as the first thing to test, just toggle on the ENOSPC
from run to run.

Copy link
Contributor Author

pepyakin commented Jan 30, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@pepyakin pepyakin force-pushed the pep-trickfs-integration branch 2 times, most recently from 925d443 to a387571 Compare January 30, 2025 17:38
@pepyakin pepyakin marked this pull request as ready for review January 30, 2025 18:03
Copy link
Contributor

@gabriele-0201 gabriele-0201 left a comment

Choose a reason for hiding this comment

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

Beside the missing logic to handle ENOSPC within rollbacks, I think this pr looks great!

@@ -393,6 +438,25 @@ impl Workload {
return Err(anyhow::anyhow!("Commit did not execute successfully"));
};

if self.enabled_enospc {
// TODO: the same handling should be extended to the rollback.
Copy link
Contributor

Choose a reason for hiding this comment

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

The code should be very similar, so I think this TODO shooul be resolved in this pr before it is merged. Otherwise, we would have a broken torture because rollbacks could fail while torture expects them to succeed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I kindly disagree:

  1. trickfs is hidden behind a flag. The behavior is unchanged if the flag is off.
  2. I wish it was easy. I think I shared it with you before, that I would like to unify crashing and not crashing exercise paths. Non-crashing path is very similiar to the crashing one except it just does not crash. Now we have this multiplicity due to the enospc!

@pepyakin pepyakin force-pushed the pep-trickfs-integration branch from a387571 to ece9478 Compare January 31, 2025 14:38
and as the first thing to test, just toggle on the ENOSPC
from run to run.
@pepyakin pepyakin force-pushed the pep-trickfs-integration branch from ece9478 to 184fd76 Compare January 31, 2025 18:58
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