Skip to content

[replication] box.info.synchro.queue gets a new field "busy" #2741

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

Closed
Tracked by #2802
TarantoolBot opened this issue Mar 9, 2022 · 0 comments · Fixed by #3140
Closed
Tracked by #2802

[replication] box.info.synchro.queue gets a new field "busy" #2741

TarantoolBot opened this issue Mar 9, 2022 · 0 comments · Fixed by #3140
Assignees
Labels
feature A new functionality replication [area] Related to Replication server [area] Task relates to Tarantool's server (core) functionality

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Mar 9, 2022

Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/

box.info.synchro.queue gets a new busy field. It is set to
true when there is a synchronous transaction is processing
but not yet complete. Thus any other incoming synchronous
transactions will be delayed until active one is finished.

Part-of #6036

Acked-by: Serge Petrenko [email protected]
Signed-off-by: Cyrill Gorcunov [email protected]
Requested by @cyrillos in tarantool/tarantool@b6cbe49.

Tech debt

Depends on and blocked by: #2044

There's a doc gap for box.info submodule documentation https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_info/:
box.info.synchro is not described at all. First, it should be described in #2044 and then the new busy field description can be added there.

@art-dr art-dr added replication [area] Related to Replication feature A new functionality server [area] Task relates to Tarantool's server (core) functionality labels Mar 14, 2022
@veod32 veod32 added this to the Estimate [@veod32] milestone Jul 7, 2022
@veod32 veod32 changed the title synchronous replication changes [replication] box.info.synchro.queue gets a new field "busy" Jul 14, 2022
@veod32 veod32 added the 2sp label Jul 14, 2022
@veod32 veod32 removed this from the Estimate [@veod32] milestone Jul 14, 2022
@xuniq xuniq self-assigned this Sep 15, 2022
xuniq added a commit that referenced this issue Sep 23, 2022
* Add box.info.synchro interface.

* Add owner, busy, and term fields.

* Add examples

Fixes #2044
Fixes #2741
Fixes #2277
Fixes #2831
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality replication [area] Related to Replication server [area] Task relates to Tarantool's server (core) functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants