txLoadBalancer can become stuck in read-only mode

Bug #501353 reported by tsavannah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
txLoadBalancer
New
Undecided
Unassigned

Bug Description

txLoadBalancer contains two places where an exception could potentially cause txLoadBalancer to enter read-only mode and never leave.

One place is in manager.py:checkConfigChanges between director.setReadOnly and director.setReadWrite. This section should be wrapped in a try: except block such that if an exception happens between setReadOnly and setReadWrite, read-write will always be restored.

The other place is in admin/pages.py in the function "protect". There should be a try except surronding

"result = method(self, *args, **kwds)"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.