-
Notifications
You must be signed in to change notification settings - Fork 290
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
check export snapshot status with the manifest file #3561
Conversation
Benchmark for 7db8e4eClick to view benchmark
|
os.system(export_snapshot_cmd) | ||
export_status = os.system( | ||
"bash -c \"if [ $(less /sc-data/snapshot/manifest.csv| grep state_node | awk -F ' ' '{print$2}') -eq $(less /sc-data/snapshot/state_node | wc -l) ]; then exit 0; else exit 1;fi\"") |
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.
这里五个文件都的检测下
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.
这里五个文件都的检测下
好的。
…napshot export failed
Codecov Report
@@ Coverage Diff @@
## master #3561 +/- ##
==========================================
+ Coverage 29.12% 29.35% +0.24%
==========================================
Files 589 589
Lines 49753 49805 +52
Branches 23411 23433 +22
==========================================
+ Hits 14486 14617 +131
- Misses 20842 20850 +8
+ Partials 14425 14338 -87
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Benchmark for 87c572cClick to view benchmark
|
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Currently the export snapshot process may be failed for some unknown reason, so we should add some check logic to make the snapshot is correct for sure.
Other information
#3539