moonlibs / xqueue

Imbue tarantool space with power of queue
15 stars 12 forks source link

priority fix #9

Closed max101101 closed 5 years ago

ochaton commented 5 years ago

After catching optional field priority we must search for status_priority_id index and throw separate exception if this index is not found.

Otherwise, we must fall back to searching status_id index instead