Skip to content

[2pt] Document new binary protocol key and subscribe request changes #2422

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 #2646
Totktonada opened this issue Nov 9, 2021 · 0 comments
Closed
Tracked by #2646
Labels
feature A new functionality iproto Related to the iproto protocol server [area] Task relates to Tarantool's server (core) functionality

Comments

@Totktonada
Copy link
Member

Totktonada commented Nov 9, 2021

Product: Tarantool
Since: 2.10.0-beta2
Audience/target: developers
Root document: https://www.tarantool.io/en/doc/latest/dev_guide/internals/box_protocol/
SME: @ sergepetrenko

Details

Add key IPROTO_ID_FILTER = 0x51 to the internals reference.
This is an optional key used in SUBSCRIBE request followed by an array
of ids of instances whose rows won't be relayed to the replica.

SUBSCRIBE request is supplemented with an optional field of the
following structure:

+====================+
|      ID_FILTER     |
|   0x51 : ID LIST   |
| MP_INT : MP_ARRRAY |
|                    |
+====================+

The field is encoded only when the id list is not empty.

Requested by @sergepetrenko in tarantool/tarantool@45de990

@veod32 veod32 added this to the Estimate [@veod32] milestone Dec 29, 2021
@veod32 veod32 changed the title Document new binary protocol key and subscribe request changes [2pt] Document new binary protocol key and subscribe request changes Dec 29, 2021
@veod32 veod32 removed this from the Estimate [@veod32] milestone Dec 29, 2021
@veod32 veod32 added server [area] Task relates to Tarantool's server (core) functionality feature A new functionality iproto Related to the iproto protocol labels Dec 29, 2021
@veod32 veod32 added this to the iproto milestone Jan 13, 2022
@patiencedaur patiencedaur removed this from the iproto milestone Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality iproto Related to the iproto protocol server [area] Task relates to Tarantool's server (core) functionality
Projects
None yet
Development

No branches or pull requests

3 participants