File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -933,6 +933,9 @@ create_recovery_conf(time_t backup_id,
933
933
934
934
if (rt -> target_action )
935
935
fio_fprintf (fp , "recovery_target_action = '%s'\n" , rt -> target_action );
936
+ else
937
+ /* default recovery_target_action is 'pause' */
938
+ fio_fprintf (fp , "recovery_target_action = '%s'\n" , "pause" );
936
939
}
937
940
938
941
if (params -> restore_as_replica )
@@ -1200,11 +1203,6 @@ parseRecoveryTargetOptions(const char *target_time,
1200
1203
1201
1204
rt -> target_action = target_action ;
1202
1205
}
1203
- else
1204
- {
1205
- /* Default recovery target action is pause */
1206
- rt -> target_action = "pause" ;
1207
- }
1208
1206
1209
1207
/* More than one mutually exclusive option was defined. */
1210
1208
if (recovery_target_specified > 1 )
You can’t perform that action at this time.
0 commit comments