You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improved performance of tree index methods: select() with the offset
specified and count() method. The underlying algorithm for these methods is
changed: the old one's time complexity was O(n), where n is the value of offset or the amount of counted tuples. The new algorithm's complexity is O(log(size)), where size is the number of tuples stored in the index. Now
it does not depend on the offset value or the amount of tuples to count. It
is safe to use these functions with arbitrary big offset values and tuple
count (gh-8204).
Introduced a new offset parameter in the index:pairs method. It allows to
skip the first tuples of the iterator (gh-8204).
Introduced a new index:offset_of method. It allows to get the position in
the index relative to the iterator direction of a tuple matching the given
key and iterator (gh-8204).
Introduced the new count method of an index and space read view. The method
returns the amount of tuples in the index (or primary key of a space) matching
the given key and iterator type (ee-858).
Improved performance of memtx tree index read view select() method with
the offset specified. The underlying algorithm for the method is changed.
The time complexity of the old algorithm was O(n), where n is the value
of offset. The new algorithm's complexity is O(log(size)), where size
is the number of tuples stored in the index. Now it does not depend on the offset value. It is safe to use the function with arbitrary big offset
values (ee-858).
Introduced a new offset parameter in the index_read_view:pairs method. It
allows to skip the first tuples of the iterator (ee-858).
Introduced a new index_read_view:offset_of Lua API. It allows to get the
0-based offset in the index relative to the iterator direction of a tuple
that matches the given key and iterator type (ee-858).
Now all replicas have WAL GC consumers persisted in the _gc_consumers
space (gh-10154). The wal_cleanup_delay option is no longer needed,
so it is deprecated.
A new compat option compat.replication_synchro_timeout has been added.
This option determines whether the replication.synchro_timeout option rolls
back transactions. When set to 'new', transactions are not rolled back due to
a timeout. In this mode replication.synchro_timeout is used to wait
confirmation in promote/demote and gc-checkpointing. If 'old' is set, the
behavior is no different from what it was before this patch appeared.
A new replication.synchro_queue_max_size option limits the number of
transactions in the master synchronous queue. replication.synchro_queue_max_size is measured in the number of bytes to be
written (0 means unlimited, which was the default behavior before).
Currently, this option defaults to 16 megabytes. (gh-7486)
C API for sending work to TX thread. Changelog:
The new public C API functions tnt_tx_push(callback) and tnt_tx_flush()
allow to send work to TX thread from any other thread.
The text was updated successfully, but these errors were encountered:
Апгрейд лишился ограничений на DDL по сравнению с версиями 3.0, 3.1, 3.2. Это позволяет, например, выдать права на функции до вызова box.schema.upgrade()..
Появились isolated-инстансы (без iproto, read-only, данные по репликации не получают и не отправляют)
Появился режим автоматической отмены регистрации реплики, если ее удалили из конфига.
Опция для лимитирования доступного размера Lua-памяти.
Много доработок по failover-координатору:
Исправление рейсов с начальным бутстрапом репликасета.
Логгирование в файл.
Поддержка config storage вместо etcd в качестве stateboard.
Автообновление конфигурации.
Конфигурирование приоритетов инстансов (кто первее будет мастером при доступности) и learners (кто никогда не должен стать мастером).
Для разрабочика роли или приложения:
JSON-схема для кластерного конфига.
В ролях появился коллбек on_event для реакции на RO/RW.
Возможность поднять или убрать алерт из роли или приложения.
Product: Tarantool
Since: 3.3.0
Root document: https://www.tarantool.io/en/doc/latest/release/
SME: @ KAPANDR, @ sergepetrenko
Details
Features to cover in What's new
From @ sergepetrenko
Related changelogs:
select()
with theoffset
specified and
count()
method. The underlying algorithm for these methods ischanged: the old one's time complexity was
O(n)
, wheren
is the value ofoffset
or the amount of counted tuples. The new algorithm's complexity isO(log(size))
, wheresize
is the number of tuples stored in the index. Nowit does not depend on the
offset
value or the amount of tuples to count. Itis safe to use these functions with arbitrary big offset values and tuple
count (gh-8204).
offset
parameter in theindex:pairs
method. It allows toskip the first tuples of the iterator (gh-8204).
index:offset_of
method. It allows to get the position inthe index relative to the iterator direction of a tuple matching the given
key and iterator (gh-8204).
count
method of an index and space read view. The methodreturns the amount of tuples in the index (or primary key of a space) matching
the given key and iterator type (ee-858).
select()
method withthe
offset
specified. The underlying algorithm for the method is changed.The time complexity of the old algorithm was
O(n)
, wheren
is the valueof
offset
. The new algorithm's complexity isO(log(size))
, wheresize
is the number of tuples stored in the index. Now it does not depend on the
offset
value. It is safe to use the function with arbitrary big offsetvalues (ee-858).
offset
parameter in theindex_read_view:pairs
method. Itallows to skip the first tuples of the iterator (ee-858).
index_read_view:offset_of
Lua API. It allows to get the0-based offset in the index relative to the iterator direction of a tuple
that matches the given key and iterator type (ee-858).
_gc_consumers
space (gh-10154). The
wal_cleanup_delay
option is no longer needed,so it is deprecated.
(Deprecate
IPROTO_RAFT_ROLLBACK
andreplication_synchro_timeout
tarantool#7486). Changelogs:compat.replication_synchro_timeout
has been added.This option determines whether the
replication.synchro_timeout
option rollsback transactions. When set to 'new', transactions are not rolled back due to
a timeout. In this mode
replication.synchro_timeout
is used to waitconfirmation in promote/demote and gc-checkpointing. If 'old' is set, the
behavior is no different from what it was before this patch appeared.
replication.synchro_queue_max_size
option limits the number oftransactions in the master synchronous queue.
replication.synchro_queue_max_size
is measured in the number of bytes to bewritten (0 means unlimited, which was the default behavior before).
Currently, this option defaults to 16 megabytes. (gh-7486)
tnt_tx_push(callback)
andtnt_tx_flush()
allow to send work to TX thread from any other thread.
The text was updated successfully, but these errors were encountered: