Skip to content

Automatically setting on read-only application intent #2333

@humada05

Description

@humada05

Question

We have a couple customers that wanted us to enable read-only application intent for our connections to their instances. After adding this, we thought this driver setting could apply to other customer databases as well, but we hit issues trying to do that. Specific examples were wtih mirrored instances and CT not being supported for secondaries.

Is it possible for the MSSQL driver to automatically switch between read-only and read-write application intents? We were intending to create this logic ourselves, but its quite difficult to understand when a database is able to accept read-only intent connections.

note: I ask this same question here: #2332. I wasnt sure if creating an issue or using the discussion section was more appropriate for this repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions