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,
933933
934934 if (rt -> target_action )
935935 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" );
936939 }
937940
938941 if (params -> restore_as_replica )
@@ -1200,11 +1203,6 @@ parseRecoveryTargetOptions(const char *target_time,
12001203
12011204 rt -> target_action = target_action ;
12021205 }
1203- else
1204- {
1205- /* Default recovery target action is pause */
1206- rt -> target_action = "pause" ;
1207- }
12081206
12091207 /* More than one mutually exclusive option was defined. */
12101208 if (recovery_target_specified > 1 )
You can’t perform that action at this time.
0 commit comments