mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
M1: ~PendingTraceId now increments a process-wide atomic counter when a pinned deterministic trace_id is destroyed unconsumed, so the silent drop stays observable in release builds where the existing XRPL_ASSERT is a no-op. Exposed via unconsumedDeterministicIdDrops() for a future metric. The deterministic trace_id bytes, the GenerateTraceId() consume logic, and the unconditional reset() are all unchanged. M2: tighten the Doxygen on SpanGuard::childSpan(std::string_view) to state it parents to the current ambient context of this store (meaningful only when a scope/ScopedSpanGuard/ScopedActivation is active) and to point callers at childSpan(name, ctx) for explicit cross-store parenting. Doc-only; no behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>