Fix the default value for DeferShardDeleteOnMove

The default for GUC citus.defer_drop_after_shard_move is true. However
we initialize the global variable with a false value.
pull/5597/head
Hanefi Onaldi 2022-01-05 02:41:42 +03:00 committed by Hanefi Onaldi
parent dd122f0f4c
commit 9edfbe7718
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ PG_FUNCTION_INFO_V1(master_copy_shard_placement);
PG_FUNCTION_INFO_V1(citus_move_shard_placement); PG_FUNCTION_INFO_V1(citus_move_shard_placement);
PG_FUNCTION_INFO_V1(master_move_shard_placement); PG_FUNCTION_INFO_V1(master_move_shard_placement);
bool DeferShardDeleteOnMove = false; bool DeferShardDeleteOnMove = true;
double DesiredPercentFreeAfterMove = 10; double DesiredPercentFreeAfterMove = 10;
bool CheckAvailableSpaceBeforeMove = true; bool CheckAvailableSpaceBeforeMove = true;