Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
When a new IncomingStreamingConnection is created, we register it in the connections map of MessagingService, but we only remove it if there is an exception while attaching the socket to the stream session.
On nodes with SSL and large number of vnodes, after many repair sessions these old connections can accumulate and cause OOM (heap dump attached).
The connection should be removed from the connections map after if it's finished in order to be garbage collected.