Skip to content

1.1.0

Compare
Choose a tag to compare
@LeonidVas LeonidVas released this 25 Dec 11:59
· 76 commits to master since this release

Overview

This release introduce:

  • "Shared session" machinery. Previously, a connection to a server
    was synonym of the queue session. But now multiple connections can work with
    tasks in one logical session.
  • Possibility to work with tasks after reconnect. The queue module now provides
    the ability to set the ttr setting for sessions by using
    queue.cfg({ ttr = ttr_in_sec}), which characterizes how long the logical
    session will exist after all active connections are closed. So, it is possible
    to take() a task, reconnect to the server, identify to the previous session
    (using queue.identify()) and after to ack() the task.
  • Fix custom driver registration after reboot.

New features

  • "Shared sessions" was added to the queue. Previously, a connection to server
    was synonym of the queue session. Now the session has a unique UUID (returned
    by the "queue.identify()" method), and one session can have many connections.
    To connect to an existing session, call "queue.identify(uuid)" with the
    previously obtained UUID.
  • Possibility to work with tasks after reconnect. The queue module now provides
    the ability to set the ttr setting for sessions by
    queue.cfg({ ttr = ttr_in_sec}), which characterizes how long the logical
    session will exist after all active connections are closed.

Bugfixes

  • Fix custom driver registration after reboot. Previously, if a custom driver is
    registered after calling box.cfg() it causes a problem when the instance will
    be restarted.