Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/20614 )
Change subject: IMPALA-12513: Allow to reset metadata when the CatalogD becomes active ...................................................................... IMPALA-12513: Allow to reset metadata when the CatalogD becomes active When switching active catalogd, the loaded metadata in the standby catalogd may not be the latest. A backend flag should be provided to control whether to reset metadata when the catalogd become active. Adds the following startup flags for catalogd: 'catalogd_ha_reset_metadata_on_failover'. Default is false. If true, reset all metadata when the catalogd becomes active. Testing: - Added a test case to start both catalogds with flag 'catalogd_ha_reset_metadata_on_failover' as true. - Passed core tests Change-Id: I2b54f36f96e7901499105e51790d8e2300d7fea9 Reviewed-on: http://gerrit.cloudera.org:8080/20614 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/catalog/catalog-server.cc M tests/custom_cluster/test_catalogd_ha.py 2 files changed, 52 insertions(+), 0 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/20614 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I2b54f36f96e7901499105e51790d8e2300d7fea9 Gerrit-Change-Number: 20614 Gerrit-PatchSet: 11 Gerrit-Owner: ttttttz <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: ttttttz <[email protected]>
