@@ -378,13 +378,6 @@ _parse_config(t_configuration_options *options, ItemList *error_list, ItemList *
378
378
*/
379
379
options -> witness_sync_interval = DEFAULT_WITNESS_SYNC_INTERVAL ;
380
380
381
- /*-------------
382
- * BDR settings
383
- *-------------
384
- */
385
- options -> bdr_local_monitoring_only = false;
386
- options -> bdr_recovery_timeout = DEFAULT_BDR_RECOVERY_TIMEOUT ;
387
-
388
381
/*-------------------------
389
382
* service command settings
390
383
*-------------------------
@@ -616,10 +609,8 @@ parse_configuration_item(t_configuration_options *options, ItemList *error_list,
616
609
{
617
610
if (strcmp (value , "physical" ) == 0 )
618
611
options -> replication_type = REPLICATION_TYPE_PHYSICAL ;
619
- else if (strcmp (value , "bdr" ) == 0 )
620
- options -> replication_type = REPLICATION_TYPE_BDR ;
621
612
else
622
- item_list_append (error_list , _ ("value for \"replication_type\" must be \"physical\" or \"bdr\" " ));
613
+ item_list_append (error_list , _ ("value for \"replication_type\" must be \"physical\"" ));
623
614
}
624
615
625
616
/* log settings */
@@ -778,12 +769,6 @@ parse_configuration_item(t_configuration_options *options, ItemList *error_list,
778
769
else if (strcmp (name , "witness_sync_interval" ) == 0 )
779
770
options -> witness_sync_interval = repmgr_atoi (value , name , error_list , 1 );
780
771
781
- /* BDR settings */
782
- else if (strcmp (name , "bdr_local_monitoring_only" ) == 0 )
783
- options -> bdr_local_monitoring_only = parse_bool (value , name , error_list );
784
- else if (strcmp (name , "bdr_recovery_timeout" ) == 0 )
785
- options -> bdr_recovery_timeout = repmgr_atoi (value , name , error_list , 0 );
786
-
787
772
/* service settings */
788
773
else if (strcmp (name , "pg_ctl_options" ) == 0 )
789
774
strncpy (options -> pg_ctl_options , value , sizeof (options -> pg_ctl_options ));
@@ -1112,8 +1097,6 @@ parse_time_unit_parameter(const char *name, const char *value, char *dest, ItemL
1112
1097
* with these):
1113
1098
*
1114
1099
* - async_query_timeout
1115
- * - bdr_local_monitoring_only
1116
- * - bdr_recovery_timeout
1117
1100
* - child_nodes_check_interval
1118
1101
* - child_nodes_connected_min_count
1119
1102
* - child_nodes_connected_include_witness
@@ -1250,24 +1233,6 @@ reload_config(t_configuration_options *orig_options, t_server_type server_type)
1250
1233
config_changed = true;
1251
1234
}
1252
1235
1253
- /* bdr_local_monitoring_only */
1254
- if (orig_options -> bdr_local_monitoring_only != new_options .bdr_local_monitoring_only )
1255
- {
1256
- orig_options -> bdr_local_monitoring_only = new_options .bdr_local_monitoring_only ;
1257
- log_info (_ ("\"bdr_local_monitoring_only\" is now \"%s\"" ), new_options .bdr_local_monitoring_only == true ? "TRUE" : "FALSE" );
1258
-
1259
- config_changed = true;
1260
- }
1261
-
1262
- /* bdr_recovery_timeout */
1263
- if (orig_options -> bdr_recovery_timeout != new_options .bdr_recovery_timeout )
1264
- {
1265
- orig_options -> bdr_recovery_timeout = new_options .bdr_recovery_timeout ;
1266
- log_info (_ ("\"bdr_recovery_timeout\" is now \"%i\"" ), new_options .bdr_recovery_timeout );
1267
-
1268
- config_changed = true;
1269
- }
1270
-
1271
1236
/* child_nodes_check_interval */
1272
1237
if (orig_options -> child_nodes_check_interval != new_options .child_nodes_check_interval )
1273
1238
{
0 commit comments