-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
tests: Add support for lazyfs #14691
Conversation
@serathius: Is it still intentionally draft ? |
Yes, I only implemented building lazyfs. I still need to configure it and implement cache clear on crash. |
8439f50
to
3ecf291
Compare
Codecov Report
@@ Coverage Diff @@
## main #14691 +/- ##
=======================================
Coverage 75.50% 75.50%
=======================================
Files 457 457
Lines 37423 37423
=======================================
Hits 28257 28257
Misses 7387 7387
Partials 1779 1779
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Still want to revisit this. Problem is integrating lazyfs in a user approachable way. We need to run separate lazyfs process for each etcd instance. It might require non-trivial rewrite. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
7174761
to
93eb21e
Compare
PR is ready to review. There is one concern on my side. LazyFS uses a lot of CPU, in environment with limited resources like CI it might be too much. Will need to validates if it doesn't cause flakes. |
8444e97
to
db751e4
Compare
I run this branch in my local with 3 cores. The failure is about |
Need to think how to integrate the lazyfs into the test scenarios. Should we lower the qps requirement, run separate scenarios with lower qps, or only enable on LowTraffic. Let me know if you have any suggestions. |
I am trying to enable grpc-only endpoint for the test. update it later. |
@serathius My devbox is kind of similar to github action vm. I run the branch with 3 CPU cores. I think the BTW, |
I didn't see any qps issue in LowTraffic or Kubernetes profiles. For the change, it looks good to me. |
c83cd17
to
dafbaf1
Compare
That is flaky case I mentioned. The compact doesn't commit after enable failpoint. |
need to support proxy part. |
I know :(. I always neglect cluster_proxy as it's inconvenient to run locally. |
PR passed tests. We have a working automatic disk failure injection testing! Same as Jepsen Please take a look @fuweid @chaochn47 @jmhbnz @ahrtr |
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.
Nice work getting this going team!
Some feedback below, nothing too major.
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.
LGTM!
8003036
to
8dd863c
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.
LGTM
Signed-off-by: Marek Siarkowicz <[email protected]>
Signed-off-by: Marek Siarkowicz [email protected]
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.