tarantool / queue

Create task queues, add and take jobs, monitor failed tasks
Other
236 stars 52 forks source link

fselect() fails on _queue_taken_2 space #168

Closed 0x501D closed 2 years ago

0x501D commented 2 years ago

Steps to reproduce:

tarantool> box.cfg{}
tarantool> q = require('queue')
tarantool> tube = q.create_tube('test_tube', 'fifo', {if_not_exists = true})
tarantool> tube:put('test')
tarantool> tube:take()
---
- [0, 't', 'test']
...

tarantool> box.space._queue_taken_2:fselect()
---
- error: 'builtin/box/schema.lua:2009: bad argument #2 to ''max'' (number expected,
    got nil)'
...

tarantool> box.space._queue_taken_2:select()
---
- - [0, 0, 1, !!binary D5dGZ6p2VEmcxTBT6pPHDg==, 1650026904099967]
...
0x501D commented 2 years ago

issue moved to tarantool/tarantool https://github.com/tarantool/tarantool/issues/7040