You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ganesh Murthy (Jira)" <ji...@apache.org> on 2021/04/07 16:35:00 UTC

[jira] [Updated] (DISPATCH-2040) Some details missing on dispositions forwarded by router on transacted sessions

     [ https://issues.apache.org/jira/browse/DISPATCH-2040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ganesh Murthy updated DISPATCH-2040:
------------------------------------
    Description: 
Please look at the attach java file for the client reproducer.

 

Via a transacted session, the client sends two messages to the router, the router forwards the messages to the broker, the broker responds with a disposition with state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36), the router does not forward this information to the client

Here is the frame trace
{noformat}
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 <- @transfer(20) [handle=1, delivery-id=1, delivery-tag=b"\x00", message-format=0, settled=false, more=false, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (167) "\x00Sp\xc0\x02\x01A\x00Sr\xc1)\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-1@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0d\x00Sw\xa1\x0acoucou-3-1"
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 <- @transfer(20) [handle=1, delivery-id=2, delivery-tag=b"\x01", message-format=0, settled=false, more=false, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (167) "\x00Sp\xc0\x02\x01A\x00Sr\xc1)\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-2@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0e\x00Sw\xa1\x0acoucou-3-2"
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 -> @transfer(20) [handle=1, delivery-id=7, delivery-tag=b"\x00", message-format=0, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (173) "\x00Sp\xc0\x02\x01A\x00Sr\xd1\x00\x00\x00,\x00\x00\x00\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-1@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0d\x00Sw\xa1\x0acoucou-3-1"
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 -> @transfer(20) [handle=1, delivery-id=8, delivery-tag=b"\x01", message-format=0, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (173) "\x00Sp\xc0\x02\x01A\x00Sr\xd1\x00\x00\x00,\x00\x00\x00\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-2@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0e\x00Sw\xa1\x0acoucou-3-2"
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 <- @disposition(21) [role=true, first=7, last=7, settled=true, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36) []]]
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 -> @disposition(21) [role=true, first=1, settled=true]
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 <- @disposition(21) [role=true, first=8, last=8, settled=true, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36) []]]
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 -> @disposition(21) [role=true, first=2, settled=true] {noformat}
 

  was:
Please look at the attach java file for the client reproducer.

 

Via a transacted session, the client sends two messages to the router, the router forwards the messages to the broker, the broker responds with a disposition with state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36), the router does not forward this information to the client

Here is the frame trace
{noformat}
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 <- @transfer(20) [handle=1, delivery-id=1, delivery-tag=b"\x00", message-format=0, settled=false, more=false, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (167) "\x00Sp\xc0\x02\x01A\x00Sr\xc1)\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-1@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0d\x00Sw\xa1\x0acoucou-3-1"
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 <- @transfer(20) [handle=1, delivery-id=2, delivery-tag=b"\x01", message-format=0, settled=false, more=false, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (167) "\x00Sp\xc0\x02\x01A\x00Sr\xc1)\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-2@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0e\x00Sw\xa1\x0acoucou-3-2"
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 -> @transfer(20) [handle=1, delivery-id=7, delivery-tag=b"\x00", message-format=0, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (173) "\x00Sp\xc0\x02\x01A\x00Sr\xd1\x00\x00\x00,\x00\x00\x00\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-1@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0d\x00Sw\xa1\x0acoucou-3-1"
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 -> @transfer(20) [handle=1, delivery-id=8, delivery-tag=b"\x01", message-format=0, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (173) "\x00Sp\xc0\x02\x01A\x00Sr\xd1\x00\x00\x00,\x00\x00\x00\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-2@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0e\x00Sw\xa1\x0acoucou-3-2"Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 <- @disposition(21) [role=true, first=7, last=7, settled=true, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36) []]]
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 -> @disposition(21) [role=true, first=1, settled=true]
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 <- @disposition(21) [role=true, first=8, last=8, settled=true, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36) []]]
Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 -> @disposition(21) [role=true, first=2, settled=true] {noformat}
 


> Some details missing on dispositions forwarded by router on transacted sessions
> -------------------------------------------------------------------------------
>
>                 Key: DISPATCH-2040
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2040
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.15.0
>            Reporter: Ganesh Murthy
>            Priority: Major
>
> Please look at the attach java file for the client reproducer.
>  
> Via a transacted session, the client sends two messages to the router, the router forwards the messages to the broker, the broker responds with a disposition with state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36), the router does not forward this information to the client
> Here is the frame trace
> {noformat}
> Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 <- @transfer(20) [handle=1, delivery-id=1, delivery-tag=b"\x00", message-format=0, settled=false, more=false, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (167) "\x00Sp\xc0\x02\x01A\x00Sr\xc1)\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-1@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0d\x00Sw\xa1\x0acoucou-3-1"
> Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 <- @transfer(20) [handle=1, delivery-id=2, delivery-tag=b"\x01", message-format=0, settled=false, more=false, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (167) "\x00Sp\xc0\x02\x01A\x00Sr\xc1)\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-2@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0e\x00Sw\xa1\x0acoucou-3-2"
> Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 -> @transfer(20) [handle=1, delivery-id=7, delivery-tag=b"\x00", message-format=0, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (173) "\x00Sp\xc0\x02\x01A\x00Sr\xd1\x00\x00\x00,\x00\x00\x00\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-1@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0d\x00Sw\xa1\x0acoucou-3-1"
> Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 -> @transfer(20) [handle=1, delivery-id=8, delivery-tag=b"\x01", message-format=0, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009"]] (173) "\x00Sp\xc0\x02\x01A\x00Sr\xd1\x00\x00\x00,\x00\x00\x00\x04\xa3\x0ex-opt-jms-destQ\x00\xa3\x12x-opt-jms-msg-typeQ\x05\x00Ss\xd0\x00\x00\x00[\x00\x00\x00\x0a\xa1/ID:2580456d-98f4-4d85-940f-e0e0a237ef3a:3:1:1-2@\xa1\x14app.biz.finance.test@@@@@@\x83\x00\x00\x01x\xac\xf9\x09\x0e\x00Sw\xa1\x0acoucou-3-2"
> Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 <- @disposition(21) [role=true, first=7, last=7, settled=true, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36) []]]
> Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 -> @disposition(21) [role=true, first=1, settled=true]
> Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [3]:FRAME: 0 <- @disposition(21) [role=true, first=8, last=8, settled=true, state=@transactional-state(52) [txn-id=b"d35fe0d3-97b6-11eb-a3e4-0a580a830009", outcome=@accepted(36) []]]
> Wed Apr  7 15:35:05 2021 PROTOCOL (trace) [642]:FRAME: 1 -> @disposition(21) [role=true, first=2, settled=true] {noformat}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org