[
https://issues.apache.org/jira/browse/CURATOR-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714126#comment-16714126
]
ASF GitHub Bot commented on CURATOR-405:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/curator/pull/292
> Connection loss not leading to ConnectionState.LOST and causing logs to fill
> ----------------------------------------------------------------------------
>
> Key: CURATOR-405
> URL: https://issues.apache.org/jira/browse/CURATOR-405
> Project: Apache Curator
> Issue Type: Bug
> Components: Framework
> Affects Versions: 3.3.0
> Reporter: Jordan Zimmerman
> Assignee: Jordan Zimmerman
> Priority: Major
> Fix For: 4.1.0
>
>
> It's unclear how it got into this state, but a client started endlessly
> logging "Session timeout has elapsed while SUSPENDED". Curator 3.0 is
> supposed to go to LOST and inject a session expiration but it's not working
> in this case.
> There are millions of these:
> {code}
> [2017-05-01 18:29:34,636][WARN
> ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout
> has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms:
> 250368206. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,637][INFO ][XXXXX] Resolved connection string from
> [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1]
> to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with
> local namespace [/v1] {}
> [2017-05-01 18:29:34,637][INFO ][org.apache.zookeeper.ZooKeeperTestable]
> injectSessionExpiration() called {}
> [2017-05-01 18:29:34,637][WARN
> ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout
> has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms:
> 250368207. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,637][INFO ][XXXXX] Resolved connection string from
> [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1]
> to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with
> local namespace [/v1] {}
> [2017-05-01 18:29:34,637][INFO ][org.apache.zookeeper.ZooKeeperTestable]
> injectSessionExpiration() called {}
> [2017-05-01 18:29:34,637][WARN
> ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout
> has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms:
> 250368207. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,637][INFO ][XXXXX] Resolved connection string from
> [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1]
> to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with
> local namespace [/v1] {}
> [2017-05-01 18:29:34,637][INFO ][org.apache.zookeeper.ZooKeeperTestable]
> injectSessionExpiration() called {}
> [2017-05-01 18:29:34,637][WARN
> ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout
> has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms:
> 250368207. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,637][INFO ][XXXXX] Resolved connection string from
> [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1]
> to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with
> local namespace [/v1] {}
> [2017-05-01 18:29:34,637][INFO ][org.apache.zookeeper.ZooKeeperTestable]
> injectSessionExpiration() called {}
> [2017-05-01 18:29:34,637][WARN
> ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout
> has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms:
> 250368207. Adjusted session timeout ms: 15000 {}
> [2017-05-01 18:29:34,638][INFO ][XXXXX] Resolved connection string from
> [http://localhost:2180/zookeeper/clients/ensemble/connection-string?namespace=/v1]
> to [localhost:22191,localhost:22194,localhost:22192,localhost:22193/v1] with
> local namespace [/v1] {}
> [2017-05-01 18:29:34,638][INFO ][org.apache.zookeeper.ZooKeeperTestable]
> injectSessionExpiration() called {}
> [2017-05-01 18:29:34,638][WARN
> ][org.apache.curator.framework.state.ConnectionStateManager] Session timeout
> has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms:
> 250368208. Adjusted session timeout ms: 15000 {}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)