Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
Signed-off-by: souravbiswassanto <[email protected]>
  • Loading branch information
souravbiswassanto committed Nov 8, 2024
1 parent fc3d5ea commit dcb7e3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions apis/kubedb/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,9 @@ type PITRReplicationStrategy string
const (
// ReplicationStrategySync means data will be synced from primary to secondary
ReplicationStrategySync PITRReplicationStrategy = "sync"
// ReplicationStrategyFSCopy means data will be copied from primary filesystem to secondary filesystem
// ReplicationStrategyFSCopy means data will be copied from filesystem
ReplicationStrategyFSCopy PITRReplicationStrategy = "fscopy"
// ReplicationStrategyClone means volumesnapshot will be used to create pvc's of both primary and secondary
// cluster should have the pvc cloning property
// ReplicationStrategyClone means volumeSnapshot will be used to create pvc's
ReplicationStrategyClone PITRReplicationStrategy = "clone"
// ReplicationStrategyNone means no replication will be used
// data will be fully restored in every replicas instead of replication
Expand Down
5 changes: 2 additions & 3 deletions apis/kubedb/v1alpha2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,9 @@ type PITRReplicationStrategy string
const (
// ReplicationStrategySync means data will be synced from primary to secondary
ReplicationStrategySync PITRReplicationStrategy = "sync"
// ReplicationStrategyFSCopy means data will be copied from primary filesystem to secondary filesystem
// ReplicationStrategyFSCopy means data will be copied from filesystem
ReplicationStrategyFSCopy PITRReplicationStrategy = "fscopy"
// ReplicationStrategyClone means volumesnapshot will be used to create pvc's of both primary and secondary
// cluster should have the pvc cloning property
// ReplicationStrategyClone means volumeSnapshot will be used to create pvc's
ReplicationStrategyClone PITRReplicationStrategy = "clone"
// ReplicationStrategyNone means no replication will be used
// data will be restored instead of replication
Expand Down

0 comments on commit dcb7e3b

Please sign in to comment.