Riza Suminto has posted comments on this change. ( http://gerrit.cloudera.org:8080/23382 )
Change subject: IMPALA-14400: Fix deadlock in CatalogServiceCatalog.getDbProperty() ...................................................................... Patch Set 3: (1 comment) http://gerrit.cloudera.org:8080/#/c/23382/1/fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java File fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java: http://gerrit.cloudera.org:8080/#/c/23382/1/fe/src/main/java/org/apache/impala/catalog/CatalogServiceCatalog.java@540 PS1, Line 540: waitInitialResetCompletion(dbName); > Is it an option if we release the readLock (if held) before acquiring the w We can, but it needs to to be done in the caller instead here since there is no clean way to check for read lock ownership. java - Why there is no way to check if current thread holds the read lock of ReentrantReadWriteLock? - Stack Overflow https://share.google/co3EjmmD0gQixaDdK Let me know if you prefer that way. -- To view, visit http://gerrit.cloudera.org:8080/23382 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I3162472ea9531add77886bf1d0d73460ff34d07a Gerrit-Change-Number: 23382 Gerrit-PatchSet: 3 Gerrit-Owner: Riza Suminto <[email protected]> Gerrit-Reviewer: Anonymous Coward <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]> Gerrit-Comment-Date: Fri, 05 Sep 2025 00:54:41 +0000 Gerrit-HasComments: Yes
