Skip to content

[BUG] Curator need upgrade to new version to avoid endless 'ConnectionState.LOST' log #3567

@qixiaobo

Description

@qixiaobo

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

You may refer to this https://issues.apache.org/jira/browse/CURATOR-405

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.
For our case , shenyu prints lots of log like this
image
And this cause filebeat using lots of cpu
image

Indeed we should to upgrade Curator to a new version above 4.1.0
https://github.com/apache/incubator-shenyu/search?l=Maven+POM&q=curator.version

image

Expected Behavior

Never print these endless logs

Steps To Reproduce

No response

Environment

ShenYu version(s):2.4.0

Debug logs

2022-06-15 21:01:23,830 [WARN] [Curator-ConnectionStateManager-0] o.a.c.f.s.ConnectionStateManager:307 Session timeout has elapsed while SUSPENDED. Injecting a session expiration. Elapsed ms: 2851944. Adjusted session timeout ms: 40000

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions