Skip to content

Commit 68c2b56

Browse files
committed
fix
1 parent e70724c commit 68c2b56

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/backend/cdb/cdbutil.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -737,9 +737,6 @@ cdbcomponent_updateCdbComponents(void)
737737

738738
PG_TRY();
739739
{
740-
if (gp_dispatch_on_mirrors) {
741-
cdb_component_dbs = NULL;
742-
}
743740
if (cdb_component_dbs == NULL)
744741
{
745742
cdb_component_dbs = getCdbComponentInfo();
@@ -789,7 +786,7 @@ cdbcomponent_getCdbComponents()
789786
{
790787
PG_TRY();
791788
{
792-
if (cdb_component_dbs == NULL || gp_dispatch_on_mirrors)
789+
if (cdb_component_dbs == NULL)
793790
{
794791
cdb_component_dbs = getCdbComponentInfo();
795792
cdb_component_dbs->fts_version = getFtsVersion();

0 commit comments

Comments
 (0)