Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Cvs P5ee > [svn:p5ee] r101...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 604 of 694
Post > Topic >>

[svn:p5ee] r10142 - p5ee/trunk/App-WorkQueue/lib/App

by spadkins@[EMAIL PROTECTED] Oct 30, 2007 at 01:41 PM

Author: spadkins
Date: Tue Oct 30 13:41:44 2007
New Revision: 10142

Modified:
   p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm

Log:
added some context log information to help us track down the acquire bug
in mvworkd

Modified: p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm
==============================================================================
--- p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm	(original)
+++ p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm	Tue Oct 30 13:41:44 2007
@[EMAIL PROTECTED]
 -501,6 +501,10 @[EMAIL PROTECTED]
                     }
                     else {
                         $self->_release_resources($entry);
+                        my $context = $self->{context};
+                        my $db = $self->_db();
+                        $context->log("ACQUISITION FAILED :
shop_request_id[$entry->{shop_request_id}] :
subrequest_id[$entry->{subrequest_id}] :
request_status[$entry->{request_status}] : last sql stmt[$db->{sql}]\n");
+                        $entry = undef;
                         # the following line appears to have been a bug
                        
#$self->_maintain_queue_buffers("release",$entry);
                        
#$self->_maintain_queue_buffers("unacquire",$entry);




 1 Posts in Topic:
[svn:p5ee] r10142 - p5ee/trunk/App-WorkQueue/lib/App
spadkins@[EMAIL PROTECTED  2007-10-30 13:41:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 23:34:24 CDT 2008.