Dequeue by msgid of a message in WAIT state does not work properly in 11.2 (Doc ID 1365655.1)

Last updated on SEPTEMBER 15, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

Dequeue via msgid does not work in 11.2 when the message is in a WAIT state.

The same dequeue via msgid works correctly in 10.2 and 11.1.

On 10.2 and 11.1 after dequeue the following is observed


SQL> select queue, msg_id, msg_state, enq_user_id, CONSUMER_NAME from aqadm.aq$MESSAGE_QUEUE;

QUEUE MSG_ID MSG_STATE
------------------------------ --------------------------------
----------------
ENQ_USER_ID CONSUMER_NAME
------------------------------ ------------------------------
MESSAGE 98B428FE4D434EADE040007F010038F2 PROCESSED
AQADM MESSAGE

MESSAGE 98B428FE4D444EADE040007F010038F2 PROCESSED
AQADM MESSAGE


while in 11.2.0.* after dequeue the following is observed


SQL> select queue, msg_id, msg_state, enq_user_id, CONSUMER_NAME from aqadm.aq$MESSAGE_QUEUE;

QUEUE MSG_ID MSG_STATE
------------------------------ --------------------------------
----------------
ENQ_USER_ID CONSUMER_NAME
------------------------------ ------------------------------
MESSAGE 98B42C6586F48228E040DC0AA7130BA6 PROCESSED
AQADM MESSAGE

MESSAGE 98B42C6586F38228E040DC0AA7130BA6 WAIT
AQADM MESSAGE

Changes

Upgrade to 11.2 with no changes made to the Advanced Queueing code.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms