mirror of https://github.com/citusdata/citus.git
Sort GUCs in alphabetical order
parent
abbcf4099a
commit
103cf34418
|
@ -580,6 +580,17 @@ RegisterCitusConfigVariables(void)
|
||||||
GUC_STANDARD,
|
GUC_STANDARD,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
|
DefineCustomBoolVariable(
|
||||||
|
"citus.check_available_space_before_move",
|
||||||
|
gettext_noop("When enabled will check free disk space before a shard move"),
|
||||||
|
gettext_noop(
|
||||||
|
"Free disk space will be checked when this setting is enabled before each shard move."),
|
||||||
|
&CheckAvailableSpaceBeforeMove,
|
||||||
|
true,
|
||||||
|
PGC_USERSET,
|
||||||
|
GUC_NO_SHOW_ALL,
|
||||||
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
DefineCustomStringVariable(
|
DefineCustomStringVariable(
|
||||||
"citus.cluster_name",
|
"citus.cluster_name",
|
||||||
gettext_noop("Which cluster this node is a part of"),
|
gettext_noop("Which cluster this node is a part of"),
|
||||||
|
@ -664,6 +675,20 @@ RegisterCitusConfigVariables(void)
|
||||||
GUC_UNIT_MS,
|
GUC_UNIT_MS,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
|
DefineCustomRealVariable(
|
||||||
|
"citus.desired_percent_disk_available_after_move",
|
||||||
|
gettext_noop(
|
||||||
|
"Sets how many percentage of free disk space should be after a shard move"),
|
||||||
|
gettext_noop(
|
||||||
|
"This setting controls how much free space should be available after a shard move."
|
||||||
|
"If the free disk space will be lower than this parameter, then shard move will result in"
|
||||||
|
"an error."),
|
||||||
|
&DesiredPercentFreeAfterMove,
|
||||||
|
10.0, 0.0, 100.0,
|
||||||
|
PGC_SIGHUP,
|
||||||
|
GUC_STANDARD,
|
||||||
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
DefineCustomRealVariable(
|
DefineCustomRealVariable(
|
||||||
"citus.distributed_deadlock_detection_factor",
|
"citus.distributed_deadlock_detection_factor",
|
||||||
gettext_noop("Sets the time to wait before checking for distributed "
|
gettext_noop("Sets the time to wait before checking for distributed "
|
||||||
|
@ -955,31 +980,6 @@ RegisterCitusConfigVariables(void)
|
||||||
0,
|
0,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
DefineCustomBoolVariable(
|
|
||||||
"citus.check_available_space_before_move",
|
|
||||||
gettext_noop("When enabled will check free disk space before a shard move"),
|
|
||||||
gettext_noop(
|
|
||||||
"Free disk space will be checked when this setting is enabled before each shard move."),
|
|
||||||
&CheckAvailableSpaceBeforeMove,
|
|
||||||
true,
|
|
||||||
PGC_USERSET,
|
|
||||||
GUC_NO_SHOW_ALL,
|
|
||||||
NULL, NULL, NULL);
|
|
||||||
|
|
||||||
DefineCustomRealVariable(
|
|
||||||
"citus.desired_percent_disk_available_after_move",
|
|
||||||
gettext_noop(
|
|
||||||
"Sets how many percentage of free disk space should be after a shard move"),
|
|
||||||
gettext_noop(
|
|
||||||
"This setting controls how much free space should be available after a shard move."
|
|
||||||
"If the free disk space will be lower than this parameter, then shard move will result in"
|
|
||||||
"an error."),
|
|
||||||
&DesiredPercentFreeAfterMove,
|
|
||||||
10.0, 0.0, 100.0,
|
|
||||||
PGC_SIGHUP,
|
|
||||||
GUC_STANDARD,
|
|
||||||
NULL, NULL, NULL);
|
|
||||||
|
|
||||||
DefineCustomBoolVariable(
|
DefineCustomBoolVariable(
|
||||||
"citus.enable_cost_based_connection_establishment",
|
"citus.enable_cost_based_connection_establishment",
|
||||||
gettext_noop("When enabled the connection establishment times "
|
gettext_noop("When enabled the connection establishment times "
|
||||||
|
@ -1079,6 +1079,19 @@ RegisterCitusConfigVariables(void)
|
||||||
GUC_UNIT_BYTE | GUC_NO_SHOW_ALL,
|
GUC_UNIT_BYTE | GUC_NO_SHOW_ALL,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
|
DefineCustomStringVariable(
|
||||||
|
"citus.local_hostname",
|
||||||
|
gettext_noop("Sets the hostname when connecting back to itself."),
|
||||||
|
gettext_noop("For some operations nodes, mostly the coordinator, connect back to "
|
||||||
|
"itself. When configuring SSL certificates it sometimes is required "
|
||||||
|
"to use a specific hostname to match the CN of the certificate when "
|
||||||
|
"verify-full is used."),
|
||||||
|
&LocalHostName,
|
||||||
|
"localhost",
|
||||||
|
PGC_SUSET,
|
||||||
|
GUC_STANDARD,
|
||||||
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
DefineCustomIntVariable(
|
DefineCustomIntVariable(
|
||||||
"citus.local_shared_pool_size",
|
"citus.local_shared_pool_size",
|
||||||
gettext_noop(
|
gettext_noop(
|
||||||
|
@ -1718,19 +1731,6 @@ RegisterCitusConfigVariables(void)
|
||||||
GUC_STANDARD,
|
GUC_STANDARD,
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
DefineCustomStringVariable(
|
|
||||||
"citus.local_hostname",
|
|
||||||
gettext_noop("Sets the hostname when connecting back to itself."),
|
|
||||||
gettext_noop("For some operations nodes, mostly the coordinator, connect back to "
|
|
||||||
"itself. When configuring SSL certificates it sometimes is required "
|
|
||||||
"to use a specific hostname to match the CN of the certificate when "
|
|
||||||
"verify-full is used."),
|
|
||||||
&LocalHostName,
|
|
||||||
"localhost",
|
|
||||||
PGC_SUSET,
|
|
||||||
GUC_STANDARD,
|
|
||||||
NULL, NULL, NULL);
|
|
||||||
|
|
||||||
DefineCustomBoolVariable(
|
DefineCustomBoolVariable(
|
||||||
"citus.writable_standby_coordinator",
|
"citus.writable_standby_coordinator",
|
||||||
gettext_noop("Enables simple DML via a streaming replica of the coordinator"),
|
gettext_noop("Enables simple DML via a streaming replica of the coordinator"),
|
||||||
|
|
Loading…
Reference in New Issue