-
Notifications
You must be signed in to change notification settings - Fork 30
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
"Two-phase commit is locked" after prepare phase timeout #2119
Labels
bug
Something isn't working
Comments
Second reproCreate cartridge appcartridge create --name myapp .
cd myapp Add sleep to
|
3 tasks
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
If we have timeout during the prepare phase on a tarantool instance,
then the next update processes of config will fail with "Two phase commit is locked".
Repro
create cartridge app
add sleep to
validate_config
function in custom role (app/roles/custom.lua
),it should look like:
start cluster
connect to an instance
cartridge enter s1-master;
decrease
validate_config_timeout
to get timeout on prepare phasetry to apply CW config and get error "timed out" from instance with
app.roles.custom
role*after that return
validate_config_timeout
to its default valueor just restart instance s1-master;
try to apply CW-config again
Output
The text was updated successfully, but these errors were encountered: