Change to apacheHandler.py to make sure a transaction that might be open
at the end of the request handling will be committed (or rolled back)
---
backend/server/apacheHandler.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/backend/server/apacheHandler.py
b/backend/server/apacheHandler.py
index 2d3530f..a1b4e04 100644
--- a/backend/server/apacheHandler.py
+++ b/backend/server/apacheHandler.py
@@ -193,6 +193,8 @@ class apacheHandler(apacheSession):
# Avoid leaving Oracle deadlocks
try:
ret = self._req_processor.process()
+ if not CFG.SEND_MESSAGE_TO_ALL:
+ rhnSQL.commit()
except:
if not CFG.SEND_MESSAGE_TO_ALL:
rhnSQL.rollback()
--
1.7.1
--
Solvention Ltd. & Co. KG
Egermannstr. 6-8
53359 Rheinbach
Tel: +49 2226 158179-0
Fax: +49 2226 158179-9
http://www.solvention.de
mailto:i...@solvention.de
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel