You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Escape hatch API to manually control cluster state (for multiple hosts) #4018
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)).
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.
Activity
roji commentedon Oct 6, 2021
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.
Make ClusterStateCache.RemoveClusterState and Clear public (#4044)