Bug 947614 - View rollback never unlocks stateTransferLock
Summary: View rollback never unlocks stateTransferLock
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: dereed
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-02 20:55 UTC by dereed
Modified: 2018-12-02 18:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 22:55:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-2989 0 Major Resolved View rollback never unlocks stateTransferLock 2013-10-16 20:05:05 UTC

Description dereed 2013-04-02 20:55:51 UTC
Description of problem:
When a new cache view prepare fails and is rolled back (for example due to a TimeoutException), the state transfer lock is never released, causing all future operations to fail with a StateTransferInProgressException timeout.

Comment 1 JBoss JIRA Server 2013-04-09 08:20:23 UTC
Dan Berindei <dberinde> made a comment on jira ISPN-2989

If I remember correctly, we didn't unblock transactions on rollback because the coordinator was supposed to retry the cache view installation in less than 1 second, and re-acquiring the exclusive state transfer lock via StateTransferLock.blockNewTransactions was very expensive (because it had to wait on all the other running commands to finish).

When a cache view installation eventually finished successfully, it would unblock the transactions. If the coordinator died, another node was supposed to pick up the coordinator role and install the new view, releasing the state transfer lock at the end.

As such, I would close this issue as expected behaviour, and I would only try to fix the specific situations where the retry mechanism doesn't work properly.

Comment 2 JBoss JIRA Server 2013-05-07 11:05:14 UTC
Mircea Markus <mmarkus> updated the status of jira ISPN-2989 to Resolved

Comment 3 JBoss JIRA Server 2013-05-07 11:05:14 UTC
Mircea Markus <mmarkus> made a comment on jira ISPN-2989

see last comment.

Comment 6 Paul Ferraro 2013-08-29 22:55:54 UTC
Per #c1


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