Does gocb have the equivalent of the go-couchbase Bucket.Refresh() functionality?
It’s currently being used in Sync Gateway when trying to reconnect to a bucket that Sync Gateway has lost it’s connection to. We might be able to just do something manually on the SG side (drop and reconnect?).
What is the recommended way to deal w/ lost connections to buckets?
What kind of dropped connection are you referring to? gocb manages all connections internally, there should not be any need to manually reconnect to buckets when connections have dropped, the client will do that internally and continue processing operations as soon as possible.
That’s good to know. Does gocb expose any information to consumers that it has lost connectivity and is trying to reconnect?