[Gravity] Query Deadlock Handling

Review Request #292 — Created April 17, 2014 and submitted

dinos
Lunr
dinostheo:DeadlockHandling
lunr
Method for handling deadlocks and re-executing the query
unit tests
  • 0
  • 0
  • 4
  • 0
  • 4
Description From Last Updated
leo
  1. Looks fine to me
  2. 
      
pprkut
  1. 
      
  2. Wrong documentation. Also, effort_number sounds weird... I'd use retry_count
  3. I'd go for a for loop, since you are clearly bounded
  4. src/Lunr/Gravity/Database/MySQL/MySQLQueryResult.php (Diff revision 1)
     
     
     
     
     
     
     
    should be fine as a ternary
  5. Here you test that if, but not the while. Can you add another test that checks that the while statement works as intended?
  6. 
      
dinos
leo
  1. Ship It!
  2. 
      
pprkut
  1. Ship It!
  2. 
      
dinos
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master
Loading...