Skip to content

Record e2e measurement through tx set instead of meta - #5359

Merged
marta-lokhova merged 1 commit into
stellar:masterfrom
drebelsky:fix-e2e-measurement
Jul 30, 2026
Merged

marta-lokhova merged 1 commit into
stellar:masterfrom
drebelsky:fix-e2e-measurement

Conversation

@drebelsky

@drebelsky drebelsky commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Update to #5356. Changes how we get the transactions that have been externalized from using the generated meta to using the externalized tx set so that we can support overlay-only mode. Also, moves when the call to recordTxMetaEmissionLatency happens: now, it happens after the simulated sleep. For the overlay-only simulated delay, this is the best time to call it. Unfortunately, this lengthens the time for the real-delay case.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates transaction latency measurement to work in overlay-only mode by deriving externalized transactions from the applicable transaction set.

Changes:

  • Iterates transaction-set phases instead of ledger-close metadata.
  • Records latency after simulated application delay.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/ledger/LedgerManagerImpl.h Updates the latency-recording interface.
src/ledger/LedgerManagerImpl.cpp Records externalization latency from the applicable transaction set.

Comment thread src/ledger/LedgerManagerImpl.h Resolved
Comment thread src/ledger/LedgerManagerImpl.cpp Resolved
@drebelsky
drebelsky marked this pull request as ready for review July 28, 2026 18:27
@drebelsky
drebelsky force-pushed the fix-e2e-measurement branch from 70dea63 to f590ccb Compare July 28, 2026 19:07
@marta-lokhova
marta-lokhova enabled auto-merge July 30, 2026 18:30
@marta-lokhova
marta-lokhova added this pull request to the merge queue Jul 30, 2026
Merged via the queue into stellar:master with commit d866e28 Jul 30, 2026
58 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.

3 participants