postgres-operator/pkg/cluster
Oleksii Kliukin c597377617
Use cluster UID as a suffix to the WAL bucket. (#211)
Avoid reusing WAL S3 buckets of the older cluster with the same name as the existing one.

For the new cluster, the S3 bucket name will include a suffix that is equal to the UID of the PostgreSQL object describing the cluster. That way, the bucket name will stay the same for all members iff  they correspond to the same PostgreSQL cluster object.

When "clone: uid:" key is present in the cluster manifest and the cluster is cloned from an S3 bucket (currently that happens if the endTimestamp is present in the clone description) the S3 bucket to clone from is suffixed with the -uid value.
2018-02-20 15:36:43 +01:00
..
cluster.go Consider container names in Statefulset diffs (#210) 2018-01-16 12:06:11 +01:00
cluster_test.go
exec.go
filesystems.go
k8sres.go Use cluster UID as a suffix to the WAL bucket. (#211) 2018-02-20 15:36:43 +01:00
pg.go
pod.go Migrate only master pods. Migrate single masters. (#199) 2018-01-09 11:55:11 +01:00
resources.go Rename the configmap 'namespace' entry to avoid confusion with the map's owm namespace 2018-02-06 15:09:00 +01:00
sync.go WIP: Hold the proper locks while examining the list of databases. 2017-12-22 13:06:11 +01:00
types.go
util.go WIP: Hold the proper locks while examining the list of databases. 2017-12-22 13:06:11 +01:00
volumes.go