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

Enable publishing subsequent ledgers even if a prior one has not been acquired yet. #5068

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mtrippled
Copy link
Collaborator

@mtrippled mtrippled commented Jul 18, 2024

High Level Overview of Change

Removes logjam of ledgers to update bookkeeping for if one of them has not been acquired.

Context of Change

The bug was first noticed in testing of 2.x builds in an internal to Ripple test environment.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

API Impact

This change has run internally for over a week by now, with no reproduction of the original
problem, and no new problems introduced. Prior to this, the problem was happening as
frequently as each day.

Investigate problems acquiring recent ledgers that have yet to be published which triggered
the logjam fixed by this PR. There's possibly peer resource contention in that environment, but TBD.

Copy link

codecov bot commented Jul 18, 2024

Codecov Report

Attention: Patch coverage is 42.85714% with 4 lines in your changes missing coverage. Please review.

Project coverage is 71.4%. Comparing base (f3bcc65) to head (14a5d60).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           develop   #5068   +/-   ##
=======================================
  Coverage     71.3%   71.4%           
=======================================
  Files          796     796           
  Lines        67031   67036    +5     
  Branches     10885   10869   -16     
=======================================
+ Hits         47808   47833   +25     
+ Misses       19223   19203   -20     
Files Coverage Δ
src/xrpld/app/ledger/detail/LedgerMaster.cpp 40.1% <42.9%> (-0.1%) ⬇️

... and 6 files with indirect coverage changes

Impacted file tree graph

@Bronek Bronek changed the title Enbable publishing subsequent ledgers even if a prior one Enable publishing subsequent ledgers even if a prior one Jul 30, 2024
@intelliot intelliot changed the title Enable publishing subsequent ledgers even if a prior one Enable publishing subsequent ledgers even if a prior one has not been acquired yet. Sep 17, 2024
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