-
Notifications
You must be signed in to change notification settings - Fork 0
Confirm production/staging overlays enable retransmitPersistenceDir #614
Copy link
Copy link
Open
Labels
area:opsHealth, metrics, operator surfaceHealth, metrics, operator surfacephase:4-hardeningMigration phase 4 — operational hardeningMigration phase 4 — operational hardeningresearchInvestigation / scoping workInvestigation / scoping worktier-1Tier 1 — minimum 24/7 viableTier 1 — minimum 24/7 viabletype:rfc-followupTracks a follow-up ADR catalogued by an umbrella RFCTracks a follow-up ADR catalogued by an umbrella RFC
Description
Activity
Metadata
Metadata
Assignees
Labels
area:opsHealth, metrics, operator surfaceHealth, metrics, operator surfacephase:4-hardeningMigration phase 4 — operational hardeningMigration phase 4 — operational hardeningresearchInvestigation / scoping workInvestigation / scoping worktier-1Tier 1 — minimum 24/7 viableTier 1 — minimum 24/7 viabletype:rfc-followupTracks a follow-up ADR catalogued by an umbrella RFCTracks a follow-up ADR catalogued by an umbrella RFC
Context
Follow-up from research done for pedrosakuma/B3TradingPlatform#793 (RFC on roll-triggered Ambiguous/Stale reclassification). Default production deployment ships with
retransmitPersistenceDir: ""(deploy/charts/b3-matching/values.yaml:132), meaning any process restart is ephemeral: FIXP session state and outbound journal are lost, forcing aRenegotiated(rolled) reconnect even though the matching engine's own order-book WAL may survive underneath.What to investigate
retransmitPersistenceDiris set anywhere it matters. This determines whether restarts in practice hit the ephemeral path (forcing a roll + trading-side Ambiguous/Stale) or the persisted path (Reattached, no roll).FileFixpSessionStatePersister, wired conditionally inExchangeHost.cs:658-683), so enabling it may be a low-risk way to reduce roll frequency without any protocol or trading-side change.Why this matters
This is one of two config-only levers (the other being graceful-shutdown handling, tracked separately) identified as capable of reducing how often B3TradingPlatform's
ConnectSessionRollReactorfires its blanket Ambiguous/Stale reclassification — without touching that reactor's semantics.Non-goals
Not proposing a change to the persistence mechanism itself, only confirming/adjusting whether it's enabled where it should be.
cc @pedrosakuma
Refs pedrosakuma/B3TradingPlatform#793