geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Schuchardt (JIRA)" <>
Subject [jira] [Created] (GEODE-1393) locator returns incorrect server information when starting up
Date Fri, 13 May 2016 20:51:13 GMT
Bruce Schuchardt created GEODE-1393:

             Summary: locator returns incorrect server information when starting up
                 Key: GEODE-1393
             Project: Geode
          Issue Type: Bug
          Components: locator
            Reporter: Bruce Schuchardt

When starting up a locator has no knowledge of cache servers that might be in the distributed
system but it will process server-location requests from clients and return them incorrect
information until it receives load info from the servers.

In one test I saw a locator be ejected from the distributed system.  When it auto-reconnected
some cache clients asked it for server locations and, though there were 6 cache servers available
the clients got this exception:

        at com.gemstone.gemfire.cache.client.internal.pooling.ConnectionManagerImpl.borrowConnection(
        at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.getNextOpServerLocation(
        at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(
        at com.gemstone.gemfire.cache.client.internal.OpExecutorImpl.execute(
        at com.gemstone.gemfire.cache.client.internal.PoolImpl.execute(
        at com.gemstone.gemfire.cache.client.internal.GetOp.execute(
        at com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.get(
        at com.gemstone.gemfire.internal.cache.tx.ClientTXRegionStub.findObject(
        at com.gemstone.gemfire.internal.cache.TXStateStub.findObject(
        at com.gemstone.gemfire.internal.cache.TXStateProxyImpl.findObject(
        at com.gemstone.gemfire.internal.cache.LocalRegion.get(
        at com.gemstone.gemfire.internal.cache.LocalRegion.get(
        at com.gemstone.gemfire.internal.cache.LocalRegion.get(
        at com.gemstone.gemfire.internal.cache.AbstractRegion.get(

ServerLocator has a readiness check but it is only testing to see if its DistributedSystem
instance variable has been initialized.  It ought to wait until it has received a server load

This message was sent by Atlassian JIRA

View raw message