Skip to content

Evaluate per-session admin terminate endpoint (vs. only bulk TerminateAllSessions) #616

Description

@pedrosakuma

Context

Follow-up from research done for pedrosakuma/B3TradingPlatform#793. Currently the only admin-surfaced session termination found in source is EntryPointListener.TerminateAllSessions (bulk daily reset / operator-triggered full reset). No per-session admin terminate endpoint was found.

What to investigate

  • Confirm whether a per-session (per-firm, per-SessionId) admin terminate endpoint exists or is planned. If not, evaluate whether adding one would be useful: it would let operators force a targeted session roll (e.g. to recover a genuinely wedged session) without the blast radius of TerminateAllSessions hitting every connected firm.
  • If added, confirm what CloseKind/persistence semantics it should use (likely same as SuspendedTimeout/KeepaliveLapsed — state removed, journal removed or preserved per operator intent).

Why this matters

A narrower admin action reduces operational risk when a single firm's session needs a forced reset, versus today's only bulk option. This surfaced as an evidence gap during the #793 RFC research pass; it's a venue-side feature question, not a trading-side reconciliation change.

Non-goals

Not proposing to change ConnectSessionRollReactor/trading-side reconciliation. This is scoped to whether/how B3MatchingPlatform should expose a targeted admin action.

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-3Tier 3 — realism / power-usertype: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