1.1.0
Overview
This release adds a number of features and fixes a bug.
Breaking changes
None.
New features
- Add the ability to set iteration and full scan delays for a task (#38).
- Add callbacks for a task at various stages of the full scan iteration (#25).
- Add the ability to specify from where to start the iterator (option
start_key
) and specify the type of the iterator itself (optioniterator_type
).
Start key can be set as a function (dynamic parameter) or just a static value. The type of the iterator can be specified
either with thebox.index.*
constant, or with the name for example, 'EQ' orbox.index.EQ
(#50). - Add the ability to create a custom iterator that will be created at the selected index (option
iterate_with
). One can also pass
a predicate that will stop the full-scan process, if required (process_while
) (#50). - Add an option
atomic_iteration
that allows making only one transaction per batch option. Withtask:kill()
, the batch with transactions will be finalized, and only after that, the fiber will complete its work (#50).
Bugfixes
- Fix worker iteration for a tree index. The bug can cause an array of tuples for a check on expiration to be obtained before suspending during the worker iteration (in case of using a tree index), and some tuples can be modified/deleted from another fiber while the worker fiber is sleeping.