Skip to content

[BUG] Don't execute init_beanie when one of the replica member are down #1222

@ZebcoWeb

Description

@ZebcoWeb

Describe the bug
This problem happens every time I run the init_beanie command, and the process gets stuck while building indexes until replication reaches a healthy state.

How can I configure the commit quorum (e.g., majority, votingMembers, or a numeric value) when creating indexes for a Beanie IndexModel, especially in a MongoDB replica set where I don’t want to wait for consensus of all members?

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