Bug 1270281 - [GSS](6.4.z) Transaction probe needlessly locks CLI
Summary: [GSS](6.4.z) Transaction probe needlessly locks CLI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Transaction Manager
Version: 6.4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.6
Assignee: Aaron Ogburn
QA Contact: Ondrej Chaloupka
URL:
Whiteboard:
Depends On:
Blocks: 1235746
TreeView+ depends on / blocked
 
Reported: 2015-10-09 13:39 UTC by Aaron Ogburn
Modified: 2019-08-15 05:38 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
BZ1270281.btm (152 bytes, text/plain)
2015-10-09 14:06 UTC, Aaron Ogburn
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-5498 0 Major Closed Transaction probe needlessly locks CLI 2018-08-03 17:08:29 UTC
Red Hat Knowledge Base (Solution) 1986243 0 None None None 2016-01-21 23:23:49 UTC

Description Aaron Ogburn 2015-10-09 13:39:22 UTC
A transaction probe grabs the controller lock before proceeding. Transaction probes may see long run times depending upon db responsiveness. So other CLI operations can end up needlessly blocked for quite some time waiting for the db to respond for a transaction probe to proceed.

Comment 1 Aaron Ogburn 2015-10-09 14:06:13 UTC
Created attachment 1081348 [details]
BZ1270281.btm

Comment 2 Aaron Ogburn 2015-10-09 14:08:24 UTC
Attached a byteman script to easily expose the issue.  To reproduce:

1. Start jboss with byteman script installed:

    -javaagent:/path/to/lib/byteman.jar=script:/path/to/BZ1270281.btm,sys:/home/aaron/path/to/lib/byteman.jar

2. Do a transaction probe CLI command:

    /subsystem=transactions/log-store=log-store/:probe

3. Attempt any other CLI write attribute command and note it hangs as well, blocked by the tx probe

Comment 3 Aaron Ogburn 2015-10-09 14:11:52 UTC
https://github.com/jbossas/jboss-eap/pull/2582

Comment 5 Jiří Bílek 2016-01-20 14:07:40 UTC
Verified with EAP 6.4.6.CP.CR2.

Comment 6 Petr Penicka 2017-01-17 11:48:11 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.

Comment 7 Petr Penicka 2017-01-17 11:48:26 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.


Note You need to log in before you can comment on or make changes to this bug.