Disable deferred drop

niupre/TestDeferredDropAndCleanup
Nitish Upreti 2022-08-30 21:39:50 -07:00
parent 6e6342bb62
commit 40664743e6
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
#include "postmaster/postmaster.h" #include "postmaster/postmaster.h"
/* declarations for dynamic loading */ /* declarations for dynamic loading */
bool DeferShardDeleteOnSplit = true; bool DeferShardDeleteOnSplit = false;
/* /*
* Entry for map that tracks ShardInterval -> Placement Node * Entry for map that tracks ShardInterval -> Placement Node

View File

@ -1023,7 +1023,7 @@ RegisterCitusConfigVariables(void)
"citus.defer_shard_delete_interval to make sure defered deletions " "citus.defer_shard_delete_interval to make sure defered deletions "
"will be executed"), "will be executed"),
&DeferShardDeleteOnSplit, &DeferShardDeleteOnSplit,
true, false,
PGC_USERSET, PGC_USERSET,
0, 0,
NULL, NULL, NULL); NULL, NULL, NULL);