File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
operator/src/main/resources/scripts Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 23
23
#
24
24
25
25
import sys
26
+ import os
26
27
import traceback
27
28
import base64
28
29
import time as systime
@@ -90,16 +91,6 @@ def checkCoherenceClusterExist(configData):
90
91
return True
91
92
92
93
93
- # Coherence exists and we cannot connect to the admin server. To be on
94
- # the safe side, loop forever until the Operator kills the pod otherwise
95
- # there is a risk to lose data
96
- def waitForeverBecauseCoherence ():
97
- print ('Shutdown: Waiting until Operator kills the pod since this domain has Coherence' )
98
- while (True ):
99
- print ('Shutdown: Sleeping 60 seconds ...' )
100
- systime .sleep (60 )
101
-
102
-
103
94
# If there is a Coherence cluster then we wait until it is safe to shutdown
104
95
# all distributed services. Each distributed cache (with backup count > 0) has data
105
96
# that is in both in a primary partition on one cluster node (i.e. WLS server) and
You can’t perform that action at this time.
0 commit comments