// Shutdown disconnects from the cluster. func (c *Conn) Shutdown() { C.rados_shutdown(c.cluster) }
// Shutdown will close the connection to the cluster. func (cluster *Cluster) Shutdown() { C.rados_shutdown(cluster.handle) }
func freePool(pool *Pool) { C.rados_ioctx_destroy(pool.ioctx) C.rados_shutdown(pool.cluster) }
// Release handle and disconnect from RADOS cluster. // // TODO: track all open ioctx, ensure all async operations have // completed before calling rados_shutdown, because it doesn't do that // itself. func (r *Rados) Release() error { C.rados_shutdown(r.rados) return nil }
func (r *Rados) ClusterShutDown() { C.rados_shutdown(*r.cluster) }