iproto: implement stream id in binary iproto protocol
For further implementation of streams, we need to separate requests belonging to and not belonging to streams. For this purpose, the stream ID field was added to the iproto binary protocol. For requests that do not belong to stream, this field is omitted or equal to zero. For requests belonging to stream, we use this field to determine which stream the request belongs to. Part of #5860 @TarantoolBot document Title: new field in binary iproto protocol Add new field to binary iproto protocol. `IPROTO_STREAM_ID 0x0a` determines whether a request belongs to a stream or not. If this field is omited or equal to zero this request doesn't belongs to stream.
Showing
- src/box/iproto_constants.c 2 additions, 2 deletionssrc/box/iproto_constants.c
- src/box/iproto_constants.h 1 addition, 0 deletionssrc/box/iproto_constants.h
- src/box/xrow.c 8 additions, 0 deletionssrc/box/xrow.c
- src/box/xrow.h 5 additions, 0 deletionssrc/box/xrow.h
- test/unit/xrow.cc 5 additions, 2 deletionstest/unit/xrow.cc
- test/unit/xrow.result 88 additions, 80 deletionstest/unit/xrow.result
Loading
Please register or sign in to comment