Skip to content

Confirm production/staging overlays enable retransmitPersistenceDir #614

Description

@pedrosakuma

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 a Renegotiated (rolled) reconnect even though the matching engine's own order-book WAL may survive underneath.

What to investigate

  • Confirm, across actual production/staging Helm overlays (not just the chart default), whether retransmitPersistenceDir is 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).
  • If it is not set in any environment that matters, evaluate whether it should be — the persistence path is already implemented (FileFixpSessionStatePersister, wired conditionally in ExchangeHost.cs:658-683), so enabling it may be a low-risk way to reduce roll frequency without any protocol or trading-side change.
  • Document the finding (and, if changed, the new default) in ops runbooks.

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 ConnectSessionRollReactor fires 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:opsHealth, metrics, operator surfacephase:4-hardeningMigration phase 4 — operational hardeningresearchInvestigation / scoping worktier-1Tier 1 — minimum 24/7 viabletype:rfc-followupTracks a follow-up ADR catalogued by an umbrella RFC

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions