File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -156,8 +156,9 @@ func ExecuteDrainStateMachine(
156156 return true , nil
157157 } else {
158158 req := & multipoolermanagerdatapb.UpdateSynchronousStandbyListRequest {
159- Operation : multipoolermanagerdatapb .StandbyUpdateOperation_STANDBY_UPDATE_OPERATION_REMOVE ,
160- StandbyIds : []* clustermetadatapb.ID {myPooler .Id },
159+ Operation : multipoolermanagerdatapb .StandbyUpdateOperation_STANDBY_UPDATE_OPERATION_REMOVE ,
160+ StandbyIds : []* clustermetadatapb.ID {myPooler .Id },
161+ ReloadConfig : true ,
161162 }
162163 _ , rpcErr := rpcClient .UpdateSynchronousStandbyList (ctx , primary , req )
163164 if rpcErr != nil {
@@ -203,8 +204,9 @@ func ExecuteDrainStateMachine(
203204 return true , nil
204205 } else {
205206 req := & multipoolermanagerdatapb.UpdateSynchronousStandbyListRequest {
206- Operation : multipoolermanagerdatapb .StandbyUpdateOperation_STANDBY_UPDATE_OPERATION_REMOVE ,
207- StandbyIds : []* clustermetadatapb.ID {myPooler .Id },
207+ Operation : multipoolermanagerdatapb .StandbyUpdateOperation_STANDBY_UPDATE_OPERATION_REMOVE ,
208+ StandbyIds : []* clustermetadatapb.ID {myPooler .Id },
209+ ReloadConfig : true ,
208210 }
209211 _ , rpcErr := rpcClient .UpdateSynchronousStandbyList (ctx , primary , req )
210212 if rpcErr != nil {
You can’t perform that action at this time.
0 commit comments