-
Notifications
You must be signed in to change notification settings - Fork 53
abstract: fix switch in_replicaset value #186
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
`running` state should switch to `ending` if rw->ro case.
This test failed due to the use of undeclared variables. The patch makes these variables local.
7440c00
to
48a4dc6
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 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.
Hi! Thank you for the patchset.
Good catch.
About commit messages:
- "abstract: error if failed to create a temp tube" -> "abstract: throw an error if failed to create a temp tube"
- "The create_table method returns" -> "The create_tube method returns"
- "fix: switch in_replicaset value with tnt < 2.2.1" - "fix" not is a subsystem.
The create_tube method returns a tube or throws an error in almost all cases. It is unexpected that only in one case it returns nil and writes an error message into a log. The patch unifies the behavior of this method.
48a4dc6
to
5c1e839
Compare
Thank you, I've tried to do the best: https://github.com/tarantool/tarantool/wiki/Code-review-procedure#commit-message |
5c1e839
to
c86c21e
Compare
Execution of non-yielding DDL statements in transactions has been allowed only since Tarantool 2.2.1 [1]. We should avoid using DDL statements in transactions for older versions. 1. tarantool/tarantool@f266559 Closes #185
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
Execution of non-yielding DDL statements in transactions has been allowed only since Tarantool 2.2.1 [1]. We should avoid using DDL statements in transactions for older versions.
Closes #185
This patchset includes a few fixes, mostly typos. So I recommend to review commits one by one. I can extract it into a separate pull request, if you wish, but the fixes are really small.