Skip to content

Conversation

@LeonidVas
Copy link
Contributor

@LeonidVas LeonidVas commented Jul 24, 2020

  • Added return in case of tarantool version < 1.7.5
  • Instead of nil, an empty table is used as "opts" argument of the driver "release" method. This is the policy of the module "queue": "Check opts in abstract.lua, instead to check inside the driver".
  • Added a test for release all tasks on start.

Follow-up #66
Fixes #121

ChangeLog: fix the tasks releases on start for some drivers(utubettl, fifottl, limfifottl). Before, an attempt to release "taken" tasks on start lead to an error:"attempt to index local 'opts' (a nil value)".

* Added return in case of tarantool version < 1.7.5 * Instead of nil, an empty table is used as "opts" argument of the driver "release" method. This is the policy of the module "queue": "Check opts in abstract.lua, instead to check inside the driver". Fixes #121
@LeonidVas LeonidVas requested a review from Totktonada July 24, 2020 12:37
@LeonidVas LeonidVas self-assigned this Jul 24, 2020
Copy link
Contributor

@Totktonada Totktonada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Please, add an entry for changelog to the PR.

@LeonidVas LeonidVas force-pushed the lvasiliev/gh-121-fix-release-all-tasks branch from 73466d2 to a18101c Compare July 28, 2020 09:37
@LeonidVas
Copy link
Contributor Author

Please, add an entry for changelog to the PR.
Done.

@Totktonada Totktonada merged commit e2b80a5 into master Jul 28, 2020
@Totktonada Totktonada deleted the lvasiliev/gh-121-fix-release-all-tasks branch July 28, 2020 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants