You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: os-eap-migration/added/launch/openshift-migrate-common.sh
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ function runMigration() {
20
20
21
21
echo"Running $JBOSS_IMAGE_NAME image, version $JBOSS_IMAGE_VERSION"
22
22
23
-
local txOptions="-Dcom.arjuna.ats.arjuna.common.RecoveryEnvironmentBean.recoveryBackoffPeriod=1 -Dcom.arjuna.ats.arjuna.common.RecoveryEnvironmentBean.periodicRecoveryPeriod=1 -Dcom.arjuna.ats.jta.common.JTAEnvironmentBean.orphanSafetyInterval=1"
23
+
local txOptions="-Djboss.node.name=${NODE_NAME} -Dcom.arjuna.ats.arjuna.common.RecoveryEnvironmentBean.recoveryBackoffPeriod=1 -Dcom.arjuna.ats.arjuna.common.RecoveryEnvironmentBean.periodicRecoveryPeriod=1 -Dcom.arjuna.ats.jta.common.JTAEnvironmentBean.orphanSafetyInterval=1"
24
24
local terminatingFile="${JBOSS_HOME}/terminatingMigration"
Copy file name to clipboardExpand all lines: os-eap-txnrecovery/bash/added/partitionPV.sh
+20-6Lines changed: 20 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ function startApplicationServer() {
124
124
mkdir -p "${SERVER_DATA_DIR}"
125
125
126
126
if [ !-f"${SERVER_DATA_DIR}/../data_initialized" ];then
127
-
init_data_dir ${SERVER_DATA_DIR}
127
+
init_data_dir ${SERVER_DATA_DIR}
128
128
touch "${SERVER_DATA_DIR}/../data_initialized"
129
129
fi
130
130
fi
@@ -209,7 +209,9 @@ function migratePV() {
209
209
210
210
(
211
211
# 1.a.ii) run recovery until empty (including orphan checks and empty object store hierarchy deletion)
212
+
MIGRATION_POD_NAME=${recoveryPodName}
212
213
MIGRATION_POD_TIMESTAMP=$(getPodLogTimestamp)# investigating on current pod timestamp
214
+
[ $?-ne 0 ] && log_warning "[`date`] Can't get log from the transaction migration pod '${MIGRATION_POD_NAME}', skipping cleanup for ${applicationPodName}"&&continue
0 commit comments