-
Notifications
You must be signed in to change notification settings - Fork 54
Fix task release in session disconnect #107
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
Conversation
e4846e3
to
6c2aa6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There are tarantool versions, where box.session.id() value may be clobbered after a yield in on_disconnect trigger, see [1]. This commit works the problem around. [1]: tarantool/tarantool#4627 Fixes #103 @Totktonada: style fixes, more comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented below. I'll push style fixes and more comments, hope you don't mind. Everything else is not so important: I just want to keep the investigation you made written somewhere.
Verified on tarantool-2.2.1.1: the test fails before the fix in queue and passes after it.
6c2aa6a
to
0f2d090
Compare
Ubuntu Cosmic fails: the fail is expected, because the distro reached EOL:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Fixes #103