[tickets] [opensaf:tickets] #1426 imm: pbe should exit if pbeBeginTrans fails in sqlite3_exec

2015-07-30 Thread Neelakanta Reddy
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


---

** [tickets:#1426] imm: pbe should exit if  pbeBeginTrans fails in 
sqlite3_exec**

**Status:** accepted
**Milestone:** 4.5.2
**Created:** Wed Jul 29, 2015 11:44 AM UTC by Neelakanta Reddy
**Last Updated:** Thu Jul 30, 2015 07:03 AM UTC
**Owner:** Neelakanta Reddy



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.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1426 imm: pbe should exit if pbeBeginTrans fails in sqlite3_exec

2015-07-30 Thread Neelakanta Reddy
- **summary**: imm: decrement the lock when pbeBeginTrans fails -- imm: pbe 
should exit if  pbeBeginTrans fails in sqlite3_exec
- Description has changed:

Diff:



--- old
+++ new
@@ -1,4 +1,3 @@
-
 
 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
 



- **Comment**:

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.



---

** [tickets:#1426] imm: pbe should exit if  pbeBeginTrans fails in 
sqlite3_exec**

**Status:** accepted
**Milestone:** 4.5.2
**Created:** Wed Jul 29, 2015 11:44 AM UTC by Neelakanta Reddy
**Last Updated:** Wed Jul 29, 2015 11:44 AM UTC
**Owner:** Neelakanta Reddy



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.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets