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 Fixes for the case of re-creating the cluster after deletion. 2017-12-13 16:49:00 +01:00
exec.go return idle status when worker has nothing to do 2017-10-11 15:42:20 +02:00
filesystems.go Make use of kubernetes client-go v4 2017-07-25 15:25:17 +02:00
k8sres.go Use cluster UID as a suffix to the WAL bucket. (#211) 2018-02-20 15:36:43 +01:00
pg.go Fixes for the case of re-creating the cluster after deletion. 2017-12-13 16:49:00 +01:00
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 add comments on roles 2017-09-11 17:44:32 +02:00
util.go WIP: Hold the proper locks while examining the list of databases. 2017-12-22 13:06:11 +01:00
volumes.go use sync methods while updating the cluster 2017-11-03 12:00:43 +01:00