You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/02/26 14:12:51 UTC

[GitHub] [iotdb] yuqi1129 commented on pull request #2662: Fix statistics value in SyncClientPool/AsyncClientPool have concurren…

yuqi1129 commented on pull request #2662:
URL: https://github.com/apache/iotdb/pull/2662#issuecomment-786671189


   @LebronAl Yes, we can just use `nodeClientNumMap.computeIfPresent(node, (n, oldValue) -> oldValue + 1)` to solve the atomic update problem in map.  nice advice~


----------------------------------------------------------------
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.

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