Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
iproto: provide new features codes
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 26, 2023
commit 80c12dce67487f48db94f105bed5bcae44c7d025
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