Details
-
Task
-
Resolution: Done
-
Major
-
8.2.1.Final, 9.0.0.Alpha1
-
None
Description
For broadcasts/anycasts, the JGroupsTransport.invokeRemotelyAsync() responses HashMap is created with the wrong initial capacity (recipients.size() instead of (recipients.size()/DEFAULT_LOAD_FACTOR, and it needs a resize to fit all the responses.
Clustered get commands shouldn't have the problem because usually there is only one valid response. However, we actually a CacheNotFoundResponse for all the owners that we didn't request the entry from, triggering the resize.