Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/17645 )

Change subject: IMPALA-5476: Fix Catalogd restart bring about metadata is out 
of sync
......................................................................


Patch Set 1:

(2 comments)

Thanks a lot for reproducing and fixing the issue!

However, I think we don't have test coverage on this case, unfortunately. Can 
we add a test somewhere, e.g. tests/custom_cluster/test_restart_services.py, to 
cover the bug?

http://gerrit.cloudera.org:8080/#/c/17645/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/17645/1//COMMIT_MSG@16
PS1, Line 16: but did not submit full topic update
            : request
Shouldn't we fix this instead? The new catalog objects in the DDL response come 
from the new catalogd instance. Will they be able to update the local catalog 
cache? Or are they just got ignored due to versions too small?

I think updating the local catalog cache immediately using the DDL response 
aims to let the coordinator get latest catalog immediately. After this patch, 
the coordinator will need to wait for the next statestore topic update to get 
the latest catalog, which doesn't match the existing functionality. Did I miss 
anything?


http://gerrit.cloudera.org:8080/#/c/17645/1//COMMIT_MSG@24
PS1, Line 24: DatalogD
CatalogD?



--
To view, visit http://gerrit.cloudera.org:8080/17645
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9fe25f5a2a42fb432e306ef08ae35750c8f3c50c
Gerrit-Change-Number: 17645
Gerrit-PatchSet: 1
Gerrit-Owner: liuyao <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Thomas Tauber-Marshall <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Vihang Karajgaonkar <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Reviewer: liuyao <[email protected]>
Gerrit-Comment-Date: Mon, 12 Jul 2021 11:32:28 +0000
Gerrit-HasComments: Yes

Reply via email to