Skip to content

Conversation

@godexsoft
Copy link
Collaborator

For #1200

This PR introduces LedgerCacheInterface and modifies the rest of the codebase to use cache (mostly) through this interface.
Removal of cache() getters in BackendInterface will be done after old ETL code is removed.

@godexsoft godexsoft requested a review from kuznetsss March 11, 2025 17:11
@codecov
Copy link

codecov bot commented Mar 11, 2025

Codecov Report

Attention: Patch coverage is 52.63158% with 9 lines in your changes missing coverage. Please review.

Project coverage is 73.20%. Comparing base (2684237) to head (125bbee).

Files with missing lines Patch % Lines
src/app/ClioApplication.cpp 0.00% 2 Missing ⚠️
.../migration/cassandra/CassandraMigrationBackend.hpp 0.00% 2 Missing ⚠️
src/etl/CorruptionDetector.hpp 50.00% 0 Missing and 1 partial ⚠️
src/etl/ETLService.cpp 0.00% 1 Missing ⚠️
src/etl/impl/LedgerPublisher.hpp 0.00% 0 Missing and 1 partial ⚠️
src/migration/MigrationApplication.cpp 0.00% 1 Missing ⚠️
src/migration/impl/MigrationManagerFactory.cpp 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1955      +/-   ##
===========================================
+ Coverage    73.18%   73.20%   +0.01%     
===========================================
  Files          338      339       +1     
  Lines        13853    13859       +6     
  Branches      7022     7023       +1     
===========================================
+ Hits         10139    10145       +6     
- Misses        1789     1790       +1     
+ Partials      1925     1924       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@godexsoft godexsoft requested a review from kuznetsss March 12, 2025 13:25
Copy link
Collaborator

@kuznetsss kuznetsss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@godexsoft godexsoft merged commit 8ac1ff7 into XRPLF:develop Mar 12, 2025
5 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants