2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 err osafimmpbed: ER SQL statement ('BEGIN EXCLUSIVE TRANSACTION') failed because: disk I/O error
2015-07-16 12:30:22 SystemEvent osafimmpbed SC-2-1 warning osafimmpbed: WA Sqlite db locked by other thread.
Diff:
In the disk I/O error case the PBE file is not accessible,(because of NFS or other share storage), the PBE should exit in this case and try to regenerate. If the error code is other than SQLITE_OK the PBE must exit.
There is a chance that NFS may re-attach after few seconds, and transaction is not yet started instead of exit, decrement sqliteTransLock in pbeBeginTrans
Diff:
changeset: 6724:f5eec770824f
branch: opensaf-4.5.x
parent: 6718:5ce161f02237
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Thu Aug 13 15:22:45 2015 +0530
summary: imm:Decrement sqliteTransLock when BEGIN EXCLUSIVE TRANSACTION fails [#1426]
changeset: 6725:96bb34041e63
branch: opensaf-4.6.x
parent: 6722:5c15253714d4
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Thu Aug 13 15:22:45 2015 +0530
summary: imm:Decrement sqliteTransLock when BEGIN EXCLUSIVE TRANSACTION fails [#1426]
changeset: 6726:283591bccb72
tag: tip
parent: 6723:1d19b68b9ea1
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Thu Aug 13 15:22:45 2015 +0530
summary: imm:Decrement sqliteTransLock when BEGIN EXCLUSIVE TRANSACTION fails [#1426]
Related
Tickets:
#1426