-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
catchpoint: fix data files deletion in hot/cold dirs scenario #5963
catchpoint: fix data files deletion in hot/cold dirs scenario #5963
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5963 +/- ##
==========================================
+ Coverage 55.33% 55.71% +0.38%
==========================================
Files 489 489
Lines 68112 68112
==========================================
+ Hits 37691 37952 +261
+ Misses 27833 27589 -244
+ Partials 2588 2571 -17 ☔ View full report in Codecov by Sentry. |
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.
Left a few comments to discuss - high level just wanted a better walkthrough in there of the test approach.
Summary
Fixed bug with data files deletion when catchpoint tracker configured with hot / cold directories.
Test Plan
TestCatchpointFirstStageInfoPruning
to repro and fixMakeCatchpointFilePath
andmakeCatchpointDataFilePath
to ensure they are used withct.dbDirectory
andct.tmpDir
correspondingly.