go-hasql icon indicating copy to clipboard operation
go-hasql copied to clipboard

Allow creating a new Cluster with alive and down nodes

Open nfo opened this issue 4 years ago • 2 comments

Scenario:

  • I call hasql.NewCluster with three nodes. One node is unreachable ("context deadline exceeded").
  • All further calls to Cluster.WaitFor* return an error.
  • Calls to Cluster.Alive, Cluster.Primary* and Cluster.Standby* return nil.

Expected: Being able to create a cluster which includes unreachable nodes and still be able to query the alive nodes.

nfo avatar Dec 16 '21 14:12 nfo

do you plan to fix this ?

vtolstov avatar Nov 22 '22 10:11 vtolstov

Yes, there will be fix soon

bbrodriges avatar Nov 28 '22 17:11 bbrodriges