Darrel Schneider created GEODE-6894:
---------------------------------------

             Summary: 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


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)

Reply via email to