Skip to content

Escape hatch API to manually control cluster state (for multiple hosts) #4018

Description

@roji

When using multiple hosts, we can allow users to manage cluster state cache themselves (it shouldn't be that hard + it can be used as a workaround for some possible bugs). Proposed by @vonzshik (#3613 (comment)).

Activity

  1. added this to the 6.0.0 milestone on Oct 6, 2021
  2. roji commented on Oct 6, 2021

    @roji
    MemberAuthor

    I do think it's OK to release 6.0 without it - hopefully we can react to any bugs quickly and release a patch. I'm a little bit hesitant about introducing such an API for direct control, since it's a bit low-level/advanced, and depending on where we put it (publicly expose ClusterStateCache with only this? static method on NpgsqlConnection?) it may add a bit of API pollution.

    But am OK also to do this.

  3. self-assigned this
    on Oct 6, 2021
  4. added a commit that references this issue on Oct 17, 2021
    50810f5
  5. added theissue type on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions