moonlibs / xqueue

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

log.notice is unexistent in modern tarantool's #18

Closed vanyarock01 closed 3 months ago

vanyarock01 commented 1 year ago

This problem is not critical, because log.notice used only for text about RO, but, it must be fixed anyway.

Example log:

server | 2023-02-28 09:46:28.957 [35301] main/122/tasks.xq.wrk1.1 utils.c:463 E> LuajitError: ...app.rocks/share/tarantool/xqueue.lua:712: attempt to call field 'notice' (a nil value)
server | 2023-02-28 09:46:28.957 [35301] main/123/tasks.xq.wrk2.1 I> I am worker 2
server | 2023-02-28 09:46:28.957 [35301] main/123/tasks.xq.wrk2.1 utils.c:463 E> LuajitError: ...app/.rocks/share/tarantool/xqueue.lua:712: attempt to call field 'notice' (a nil value)
server | 2023-02-28 09:46:28.957 [35301] main/124/tasks.xq.1 I> Runat started
server | 2023-02-28 09:46:28.957 [35301] main/124/tasks.xq.1 utils.c:463 E> LuajitError: ...app/.rocks/share/tarantool/xqueue.lua:750: attempt to call field 'notice' (a nil value)

row: https://github.com/moonlibs/xqueue/blob/master/xqueue.lua#L813

ochaton commented 3 months ago

fixed in 5.0.0