-
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
etcdserver: remove temp files in snap dir when etcdserver starting #12846
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12846 +/- ##
===========================================
- Coverage 63.74% 45.54% -18.20%
===========================================
Files 407 348 -59
Lines 33241 29154 -4087
===========================================
- Hits 21190 13279 -7911
- Misses 9990 14215 +4225
+ Partials 2061 1660 -401
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
When etcd exits abnormally, tmp files will remain in snap dir, so clean up tmp files in snap dir when etcdserver starting. Fixes #12837
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.
Thank you !
- Backporting: etcd-io#12846 - Reference: etcd-io#14232
- Backporting: etcd-io#12846 - Reference: etcd-io#14232 Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
- Backporting: etcd-io#12846 - Reference: etcd-io#14232 Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
- Backporting: etcd-io#12846 - Reference: etcd-io#14232 Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
- Backporting: etcd-io#12846 - Reference: etcd-io#14232 Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
- Backporting: etcd-io#12846 - Reference: etcd-io#14232 Signed-off-by: vivekpatani <9080894+vivekpatani@users.noreply.github.com>
When etcd exits abnormally, tmp files will remain in snap dir, so clean up tmp files in snap dir when etcdserver starting.
Fixes #12837