Skip to content

Commit

Permalink
iproto: provide new features codes
Browse files Browse the repository at this point in the history
Pagination was added in Tarantool 2.11.0-rc1 [1]. Space and index names
support will be added to Tarantool 3.0 [2]. Watch once feature will be
added to Tarantool 3.0 [3].

1. tarantool/tarantool@948e5cd
2. tarantool/tarantool@b9550f1
3. tarantool/tarantool@6dc1433

Part of #267
  • Loading branch information
DifferentialOrange committed Jun 28, 2023
1 parent 00efc10 commit 7848ac7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tarantool/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
IPROTO_FEATURE_TRANSACTIONS = 1
IPROTO_FEATURE_ERROR_EXTENSION = 2
IPROTO_FEATURE_WATCHERS = 3
IPROTO_FEATURE_PAGINATION = 4
IPROTO_FEATURE_SPACE_AND_INDEX_NAMES = 5
IPROTO_FEATURE_WATCH_ONCE = 6

# Default value for connection timeout (seconds)
CONNECTION_TIMEOUT = None
Expand Down Expand Up @@ -133,8 +136,8 @@
# Default delay between attempts to reconnect (seconds)
POOL_INSTANCE_RECONNECT_DELAY = 0

# Tarantool 2.10 protocol version is 3
CONNECTOR_IPROTO_VERSION = 3
# Tarantool master 970ea48 protocol version is 6
CONNECTOR_IPROTO_VERSION = 6
# List of connector-supported features
CONNECTOR_FEATURES = [IPROTO_FEATURE_ERROR_EXTENSION]

Expand Down

0 comments on commit 7848ac7

Please sign in to comment.