Bug #602
TMQ invalid prepare files shall be dropped (i.e if size is bellow the must have size)
Status: | New | Start date: | 11/01/2020 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
N:NDRX:5:9211474f:17251:7f1c15841940:001:20201031:205523340925:tmq_msg_add :qspace.c:0795:Adding to G_msgid_hash [4Ez+WCeaRqKbVqIPs0H7iAEAZAAAAAAAAAAAAAAAAAA=] N:NDRX:5:9211474f:17251:7f1c15841940:001:20201031:205523340937:id_serialize:common.c:0308:Original MSGID (nr bytes: 32) 0000 e0 4c fe 58 27 9a 46 a2 9b 56 a2 0f b3 41 fb 88 .L.X'.F..V...A.. 0010 01 00 64 00 00 00 00 00 00 00 00 00 00 00 00 00 ..d............. N:NDRX:5:9211474f:17251:7f1c15841940:001:20201031:205523340981:id_serialize:common.c:0315:MSGID after serialize: [4Ez+WCeaRqKbVqIPs0H7iAEAZAAAAAAAAAAAAAAAAAA=] N:NDRX:5:9211474f:17251:7f1c15841940:001:20201031:205523340993:tmq_msg_add :qspace.c:0840:Message with id [4Ez+WCeaRqKbVqIPs0H7iAEAZAAAAAAAAAAAAAAAAAA=] successfully enqueued to [MYQ1] queue (DEBUG: locked 0) N:NDRX:3:9211474f:17251:7f1c15841940:001:20201031:205523344478:e_get_blocks:isk_xa.c:1266:Loading [/home/user1/modules/endurox-go/tests/07_basic_durable_queue/conf/../var/qspace1/prepared/YZT3oUBAYJXzDI3LSkK+IuQwL6YhHgEAAQAB-001] N:NDRX:2:9211474f:17251:7f1c15841940:001:20201031:205523344538:ead_tx_block:isk_xa.c:0995:ERROR! Failed to read tx file (tmq_storage_get_blocks: /home/user1/modules/endurox-go/tests/07_basic_durable_queue/conf/../var/qspace1/prepared/YZT3oUBAYJXzDI3LSkK+IuQwL6YhHgEAAQAB-001): req_read=696, read=0: Success N:NDRX:2:9211474f:17251:7f1c15841940:001:20201031:205523344649:e_get_blocks:isk_xa.c:1287:Failed to read [/home/user1/modules/endurox-go/tests/07_basic_durable_queue/conf/../var/qspace1/prepared/YZT3oUBAYJXzDI3LSkK+IuQwL6YhHgEAAQAB-001]: File exists N:NDRX:4:9211474f:17251:7f1c15841940:001:20201031:205523344670:mq_load_msgs:qspace.c:1590:tmq_load_msgs return -1 N:NDRX:2:9211474f:17251:7f1c15841940:001:20201031:205523344686:ndrx_main :rvmain.c:0991:tpsvrinit() fail N:NDRX:5:9211474f:17251:7f1c15841940:001:20201031:205523344764:_tpsvrdone__:mqueue.c:0539:tpsvrdone called - requesting background thread shutdown... N:NDRX:5:9211474f:17251:7f1c15841940:001:20201031:205523344789:_close_entry:tmi/xa.c:0423:atmi_xa_close_entry N:NDRX:2:9211474f:17251:7f1c15841940:001:20201031:205523344803:_close_entry:isk_xa.c:0632:xa_close_entry() called N:NDRX:5:9211474f:17251:7f1c15841940:001:20201031:205523344845:ndrx_tpterm :i/init.c:0628:_tpterm called N:NDRX:5:9211474f:17251:7f1c15841940:001:20201031:205523344888:rx_svq_close:ys_svq.c:0110:close 0x1538c20 mqd
Such cases might appear if disk is full while performing the enqueue.
The other option would be to avoid the prepare phase, if disk is full