[
https://issues.apache.org/jira/browse/GEODE-9200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335011#comment-17335011
]
ASF GitHub Bot commented on GEODE-9200:
---------------------------------------
pdxcodemonkey commented on a change in pull request #793:
URL: https://github.com/apache/geode-native/pull/793#discussion_r622551469
##########
File path: cppcache/src/ThinClientPoolHADM.cpp
##########
@@ -292,11 +293,11 @@ void
ThinClientPoolHADM::removeCallbackConnection(TcrEndpoint* ep) {
m_redundancyManager->removeCallbackConnection(ep);
}
-void ThinClientPoolHADM::sendNotConMesToAllregions() {
+void ThinClientPoolHADM::sendNotConnectedMessageToAllRegions() {
std::lock_guard<decltype(m_regionsLock)> guard(m_regionsLock);
for (std::list<ThinClientRegion*>::iterator it = m_regions.begin();
Review comment:
Yep, fixed.
--
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:
[email protected]
> Leaked message used to signal "all endpoints disconnected"
> ----------------------------------------------------------
>
> Key: GEODE-9200
> URL: https://issues.apache.org/jira/browse/GEODE-9200
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Blake Bender
> Assignee: Blake Bender
> Priority: Major
> Labels: pull-request-available
>
> Geode native uses a "blank" reply message to signal to regions that all
> endpoints have disconnected, i.e. they can shut down. This message is
> allocated on the heap into a static pointer in the function
> `TcrMessage::getAllEPDisMess`, but is never deleted. This should be a
> dynamically allocated message, so it can be cleaned up via `delete` in the
> region like all other messages.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)