Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/22634 )
Change subject: IMPALA-13850: Wait until CatalogD active before resetting metadata ...................................................................... Patch Set 5: (1 comment) Thanks Riza to work on this. http://gerrit.cloudera.org:8080/#/c/22634/5/be/src/catalog/catalog-server.cc File be/src/catalog/catalog-server.cc: http://gerrit.cloudera.org:8080/#/c/22634/5/be/src/catalog/catalog-server.cc@590 PS5, Line 590: if (FLAGS_force_catalogd_active) { : // In HA mode, catalog_ does not automatically trigger reset metadata upon : // initialization. Reset all metadata if this catalogd forced to start as active. : lock_guard<mutex> l(catalog_lock_); : LOG(INFO) << "Resetting metadata due to force_catalogd_active=true."; : TriggerResetMetadataLocked(); : } If FLAGS_force_catalogd_active is true, TriggerResetMetadataLocked() will be called twice. One is called here, another one is called in UpdateActiveCatalogd(). -- To view, visit http://gerrit.cloudera.org:8080/22634 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I58cc66dcccedb306ff11893f2916ee5ee6a3efc1 Gerrit-Change-Number: 22634 Gerrit-PatchSet: 5 Gerrit-Owner: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Reviewer: Abhishek Rawat <ara...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com> Gerrit-Comment-Date: Sun, 23 Mar 2025 06:56:44 +0000 Gerrit-HasComments: Yes