You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/11/16 14:47:53 UTC
(doris) branch branch-2.0 updated: [Fix](multi-catalog) Fix NPE when replaying hms events #26803 (#26997)
This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 09f12f11738 [Fix](multi-catalog) Fix NPE when replaying hms events #26803 (#26997)
09f12f11738 is described below
commit 09f12f11738d81f2245aabb904cf900f4a624215
Author: Xiangyu Wang <du...@gmail.com>
AuthorDate: Thu Nov 16 22:47:43 2023 +0800
[Fix](multi-catalog) Fix NPE when replaying hms events #26803 (#26997)
Co-authored-by: wangxiangyu <wa...@360shuke.com>
---
fe/fe-core/src/main/java/org/apache/doris/qe/MasterCatalogExecutor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/MasterCatalogExecutor.java b/fe/fe-core/src/main/java/org/apache/doris/qe/MasterCatalogExecutor.java
index 2bd72642fad..a1e557b526b 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/MasterCatalogExecutor.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/MasterCatalogExecutor.java
@@ -66,7 +66,7 @@ public class MasterCatalogExecutor {
boolean isReturnToPool = false;
try {
TInitExternalCtlMetaResult result = client.initExternalCtlMeta(request);
- ConnectContext.get().getEnv().getJournalObservable().waitOn(result.maxJournalId, waitTimeoutMs);
+ Env.getCurrentEnv().getJournalObservable().waitOn(result.maxJournalId, waitTimeoutMs);
if (!result.getStatus().equalsIgnoreCase(STATUS_OK)) {
throw new UserException(result.getStatus());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org