postgres-operator/pkg/cluster
Oleksii Kliukin 9720ac1f7e WIP: Hold the proper locks while examining the list of databases.
Introduce a new lock called specMu lock to protect the cluster spec.
This lock is held on update and sync, and when retrieving the spec in
the API code. There is no need to acquire it for cluster creation and
deletion: creation assigns the spec to the cluster before linking it to
the controller, and deletion just removes the cluster from the list in
the controller, both holding the global clustersMu Lock.
2017-12-22 13:06:11 +01:00
..
cluster.go WIP: Hold the proper locks while examining the list of databases. 2017-12-22 13: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 Scalyr agent sidecar for log shipping (#190) 2017-12-21 15:34:26 +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 Tweak our reaction to the cluster upgrade process. 2017-11-30 14:11:49 +01:00
resources.go Make sure the statefulset that is deleted manually gets re-created. (#191) 2017-12-21 15:20:43 +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