Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029740
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2015-04-29 18:452015-04-29 18:45
ReporterplujanView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029740: Open connections may cause a deadlock while updating webPOS

DescriptionI tried to update Q2 from RC2 to RC3. I did not realise about some terminal windows opened because of recent tasks.

The update via GUI did not finish since the recreation of OBPOS_ERRORS table could not get an exclusive lock.

The problem is that no information has been shown during the process. Not even the process failed, it just kept trying to recreate the table.
Steps To ReproducePreconditions: The precondition is not quite clear but it is related to some recent work being done in a terminal window.

Get a new version of the webPOS module and update it using the Module Management Console.

Note that the process never ends. Check the log and you will find something like:
2015-04-29 14:57:40 UTC LOG: process 17968 still waiting for AccessExclusiveLock on relation 41153 of database 40921 after 1000.257 ms
2015-04-29 14:57:40 UTC STATEMENT: -- END
        ALTER TABLE OBPOS_ERRORS
            DROP CONSTRAINT OBPOS_ERRORS_CLIENT

Proposed SolutionIf an existing session can create such a conflict, some previous validation should exist. The user should get some feedback about the problem and be able to fix it without causing any harm in the system.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-04-29 18:45 plujan New Issue
2015-04-29 18:45 plujan Assigned To => Retail
2015-04-29 18:45 plujan Triggers an Emergency Pack => No


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker