Skip to content

[vibe-d/mongodb] No read preference tag support #2851

@gedaiu

Description

@gedaiu

Can't target specific secondaries by tags like {dc: "east"} or {role: "analytics"}. The tags field is already parsed in ServerDescription but nothing uses it.

Need to parse readPreferenceTags from the connection URI and filter candidates in selectServer() by matching tag sets before picking one.

Depends on the per-operation read preference. #2848

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