We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5463e8 commit d7c4447Copy full SHA for d7c4447
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServer.java
@@ -232,9 +232,7 @@ public void setSocketSendBufSize(int size) {
232
233
@Override
234
public int getNumOpenConnections() {
235
- int channelsCount = allChannels.size();
236
- // allChannels also contains the server channel, so exclude that from the count.
237
- return channelsCount > 0 ? channelsCount - 1 : channelsCount;
+ return allChannels.size();
238
}
239
240
private void initSSL(ChannelPipeline p, boolean supportPlaintext)
0 commit comments