Skip to content

Commit

Permalink
[Enhancement](multi-catalog) Speed up consume rate of hms event.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiangyu committed Dec 2, 2023
1 parent ae77de9 commit 268f845
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void forward(long catalogId, long dbId) throws Exception {
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());
}
Expand Down

0 comments on commit 268f845

Please sign in to comment.