-
Notifications
You must be signed in to change notification settings - Fork 15
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
base: pep-trickfs-enospc
Are you sure you want to change the base?
Conversation
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.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
c2c202e
to
a24b4ad
Compare
925d443
to
a387571
Compare
a24b4ad
to
2d5ddcf
Compare
There was a problem hiding this 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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kindly disagree:
- trickfs is hidden behind a flag. The behavior is unchanged if the flag is off.
- 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!
2d5ddcf
to
f463f70
Compare
a387571
to
ece9478
Compare
and as the first thing to test, just toggle on the ENOSPC from run to run.
ece9478
to
184fd76
Compare
f463f70
to
041938b
Compare
and as the first thing to test, just toggle on the ENOSPC
from run to run.