File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1599,19 +1599,6 @@ func (c *Cluster) syncPgbackrestRepoHostConfig(spec *cpov1.PostgresSpec) error {
15991599 if err := c .replaceStatefulSet (& curSts , desiredSts ); err != nil {
16001600 return fmt .Errorf ("could not replace pgbackrest repo-host statefulset: %v" , err )
16011601 }
1602-
1603- if cmp .rollingUpdate {
1604- pods , err := c .listPodsOfType (TYPE_REPOSITORY )
1605- if err != nil {
1606- return fmt .Errorf ("could not list pods of pgbackrest repo-host statefulset: %v" , err )
1607- }
1608- for _ , pod := range pods {
1609- c .logger .Infof ("Recreating repo host pod %v" , pod .Name )
1610- if _ , err := c .recreatePod (util .NameFromMeta (pod .ObjectMeta )); err != nil {
1611- return fmt .Errorf ("could not recreate pgbackrest repo-host pod: %v" , err )
1612- }
1613- }
1614- }
16151602 }
16161603
16171604 if err = c .updatePgbackrestRepoHostConfig (); err != nil {
You can’t perform that action at this time.
0 commit comments