Skip to content

Commit

Permalink
docs(rdb): add more precisions for the read replica (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Sep 5, 2022
1 parent d3f8784 commit 2c9208b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions api/rdb/v1/rdb_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -2569,10 +2569,11 @@ type ResetReadReplicaRequest struct {
ReadReplicaID string `json:"-"`
}

// ResetReadReplica: reset a read replica
// ResetReadReplica: resync a read replica
//
// Resetting a read replica resyncs data from the leader node. This operation can take some time, depending on the database's size.
// During this operation, the read replica will not be available. Endpoints will not change.
// When you resync a read replica, first it is reset, and then its data is resynchronized from the primary node.
// Your read replica will be unavailable during the resync process. The duration of this process is proportional to your Database Instance size.
// The configured endpoints will not change.
//
func (s *API) ResetReadReplica(req *ResetReadReplicaRequest, opts ...scw.RequestOption) (*ReadReplica, error) {
var err error
Expand Down

0 comments on commit 2c9208b

Please sign in to comment.