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

Binary protocol: describe IPROTO_RAFT_* requests #2814

Closed
Tracked by #2646
TarantoolBot opened this issue Apr 18, 2022 · 0 comments · Fixed by #2816
Closed
Tracked by #2646

Binary protocol: describe IPROTO_RAFT_* requests #2814

TarantoolBot opened this issue Apr 18, 2022 · 0 comments · Fixed by #2816
Assignees
Labels
add details [nature] More details needed, some info missing. Documentation is incomplete. iproto Related to the iproto protocol server [area] Task relates to Tarantool's server (core) functionality

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Apr 18, 2022

<…>=0x0d
IPROTO_BEGIN=0x0e
IPROTO_COMMIT=0x0f
IPROTO_ROLLBACK=0x10
|IPROTO_RAFT_CONFIRM=0x28
IPROTO_RAFT_ROLLBACK=0x29|

IPROTO_PING=0x40
IPROTO_JOIN=0x41
IPROTO_SUBSCRIBE=0x42
IPROTO_<…>

https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/

Please, mention
IPROTO_RAFT = 0x1e, IPROTO_RAFT_PROMOTE = 0x1f, IPROTO_RAFT_DEMOTE = 0x20 requests.

IPROTO_RAFT request has the following fields:
IPROTO_RAFT_TERM = 0
IPROTO_RAFT_VOTE = 1
IPROTO_RAFT_STATE = 2
IPROTO_RAFT_VCLOCK = 3

@veod32 veod32 added this to the Estimate [@veod32] milestone Apr 20, 2022
@veod32 veod32 added server [area] Task relates to Tarantool's server (core) functionality iproto Related to the iproto protocol add details [nature] More details needed, some info missing. Documentation is incomplete. labels Apr 20, 2022
@veod32 veod32 removed this from the Estimate [@veod32] milestone Apr 20, 2022
@veod32 veod32 added the 2sp label Apr 20, 2022
@veod32 veod32 changed the title feedback: Binary protocol | Tarantool Binary protocol: describe IPROTO_RAFT_* requests Apr 20, 2022
veod32 added a commit that referenced this issue Apr 20, 2022
@veod32 veod32 linked a pull request Apr 20, 2022 that will close this issue
veod32 added a commit that referenced this issue Apr 25, 2022
veod32 added a commit that referenced this issue Apr 25, 2022
veod32 added a commit that referenced this issue Apr 25, 2022
Add information about RAFT-related constants and description of the IPROTO_RAFT request

Closes #2814
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add details [nature] More details needed, some info missing. Documentation is incomplete. iproto Related to the iproto protocol server [area] Task relates to Tarantool's server (core) functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants