You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/02/16 19:31:02 UTC

[GitHub] [hadoop] xinglin commented on a change in pull request #3994: HADOOP-18110. ViewFileSystem: Add Support for Localized Trash Root

xinglin commented on a change in pull request #3994:
URL: https://github.com/apache/hadoop/pull/3994#discussion_r808382677



##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
##########
@@ -3627,11 +3627,12 @@ void decrUserConnections(String user) {
           return;
         } else {
           count--;
-        }
-        if (count == 0) {
-          userToConnectionsMap.remove(user);
-        } else {
-          userToConnectionsMap.put(user, count);
+
+          if (count == 0) {

Review comment:
       removed.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org