Skip to content

Commit

Permalink
fix(java-client): fix client query meta server failed when authentica…
Browse files Browse the repository at this point in the history
…tion is enabled
  • Loading branch information
yujingwei committed Sep 9, 2024
1 parent d0e9260 commit ab36f95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ void onFinishQueryMeta(final MetaRequestRound round) {
return;
}

round.lastSession.getInterceptorManager().onConnected(round.lastSession);
retryQueryMeta(round, needDelay);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,10 @@ public boolean tryPendRequest(RequestEntry entry) {
return false;
}

public ReplicaSessionInterceptorManager getInterceptorManager() {
return interceptorManager;
}

final class DefaultHandler extends SimpleChannelInboundHandler<RequestEntry> {
@Override
public void channelInactive(ChannelHandlerContext ctx) throws Exception {
Expand Down

0 comments on commit ab36f95

Please sign in to comment.