Skip to content

[vibe-d/mongodb] [critical] [mongo8] No retryable writes #2856

@gedaiu

Description

@gedaiu

Since MongoDB 3.6, drivers are supposed to automatically retry writes once on network errors or elections. The server deduplicates using the session's transaction number, so it's safe.

Different from failover retry (#2850) — this is a session-level mechanism that the server coordinates, not just topology re-selection.

Requires sessions. #2854

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions