andy wrote in changelog

[livejournal] r21524: LJSUP-11603 (optimize performance of S2 ...

Committer: ailyin
LJSUP-11603 (optimize performance of S2 comments pages)
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2012-03-22 15:14:03 UTC (rev 21523)
+++ trunk/cgi-bin/LJ/Talk.pm	2012-03-22 15:15:53 UTC (rev 21524)
@@ -1187,7 +1187,7 @@
         $sharedmode = "LOCK IN SHARE MODE";
         $u->begin_work;
     } else {
-        $u->do("LOCK TABLES log2 WRITE, talk2 READ");
+        $u->do("LOCK TABLES log2 WRITE, talk2 READ, logbackup WRITE");
     }
 
     # get count and then update.  this should be totally safe because we've either