Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oldSession.kick() in unique_session.go causes session.Bind() to fail #220

Open
kokais opened this issue Jul 17, 2021 · 1 comment
Open
Labels

Comments

@kokais
Copy link

kokais commented Jul 17, 2021

In Cluster mode, the frontend service reported some bind session error: "close closed session". When session.Bind is executed, unique_session.go will execute oldSession.Kick. If oldSession is closed, it will return that error:"close closed session".
So, my question is whether the "session.OnSessionBind" in unique_session.go does not need to return the error when oldSession.Kick, then session.Bind can bind the current uid normally.

@bruce1125
Copy link
Contributor

Doing that may cover some bugs or issues for the server. The most important thing is to locate the problem and solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants