MemIAVL should resume snapshot creation after restart#107
Conversation
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (45.80%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #107 +/- ##
==========================================
- Coverage 63.68% 62.52% -1.17%
==========================================
Files 28 29 +1
Lines 4045 4285 +240
==========================================
+ Hits 2576 2679 +103
- Misses 1170 1282 +112
- Partials 299 324 +25
🚀 New features to boost your workflow:
|
| if err != nil { | ||
| return err | ||
| } | ||
| defer f.Close() |
Check warning
Code scanning / CodeQL
Writable file handle closed without error handling Warning
|
|
||
| // Log progress every 1000 entries or at completion | ||
| if replayCount%1000 == 0 || replayCount == int(totalEntries) { | ||
| progressPercent := float64(replayCount) / float64(totalEntries) * 100 |
Check notice
Code scanning / CodeQL
Floating point arithmetic Note
|
|
||
| // Log progress every 1000 entries or at completion | ||
| if replayCount%1000 == 0 || replayCount == int(totalEntries) { | ||
| progressPercent := float64(replayCount) / float64(totalEntries) * 100 |
Check notice
Code scanning / CodeQL
Floating point arithmetic Note
Describe your changes and provide context
Testing performed to validate your change