Skip to content

create_tube if not exists option #42

@nekufa

Description

@nekufa

If not exists flag is ignored.

It's easy to reproduce the issue. Simply run this code twice:
queue.create_tube('web_push', 'fifo', {temporary = false, if_not_exists = true})

Behind the scenes drivers are creating their own create_space options, so if_not_exists flag is ignored.
https://github.com/tarantool/queue/blob/master/queue/abstract/driver/fifo.lua#L8-L13

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions