[
https://issues.apache.org/jira/browse/GEODE-6894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16869667#comment-16869667
]
Darrel Schneider commented on GEODE-6894:
-----------------------------------------
Since RequiredRoles has been deprecated, it probably does not make sense to
spend time fixing this dependency on stats.
> reconnect depends on the value of the reliableRegionsMissing CachePerfStat
> --------------------------------------------------------------------------
>
> Key: GEODE-6894
> URL: https://issues.apache.org/jira/browse/GEODE-6894
> Project: Geode
> Issue Type: Bug
> Components: core
> Reporter: Darrel Schneider
> Priority: Major
>
> InternalDistributedSystem.reconnect(boolean, String) has the following code
> that reads a statistics:
> {code:java}
> if (cache.getCachePerfStats().getReliableRegionsMissing()
> == 0) {
> reconnectAttemptCounter.set(0);
> {code}
> This should be changed to read an internal value that is updated whenever the
> reliableRegionsMissing stat is updated. Otherwise reconnect will not behave
> as expected when stats are disabled.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)