Skip to content
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

Merged

Conversation

algorandskiy
Copy link
Contributor

Summary

Fixed bug with data files deletion when catchpoint tracker configured with hot / cold directories.

Test Plan

  1. Extended TestCatchpointFirstStageInfoPruning to repro and fix
  2. Checked all MakeCatchpointFilePath and makeCatchpointDataFilePath to ensure they are used with ct.dbDirectory and ct.tmpDir correspondingly.

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.71%. Comparing base (98ac36a) to head (bfb7c76).

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.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@gmalouf gmalouf left a 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.

@algorandskiy algorandskiy merged commit 9a4c088 into algorand:master Mar 21, 2024
18 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants