Skip to content

1.1.0

Compare
Choose a tag to compare
@ligurio ligurio released this 06 Jul 09:26
· 129 commits to master since this release

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 (option iterator_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 the box.index.* constant, or with the name for example, 'EQ' or box.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. With task: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.