[Bug 4451] New: RevlogError during tag reading in hgweb

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Nov 11 23:28:07 CST 2014


http://bz.selenic.com/show_bug.cgi?id=4451

          Priority: normal
            Bug ID: 4451
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: RevlogError during tag reading in hgweb
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: gregory.szorc at gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 3.1.1
         Component: Mercurial
           Product: Mercurial

Running 3.1.1, we are seeing the following HTTP 500 on our production
infrastructure:

mod_wsgi (pid=3444): Exception occurred processing WSGI script
'/repo_local/mozilla/webroot_wsgi/hgweb.wsgi'.
Traceback (most recent call last):
File "/repo_local/mozilla/extensions/serverlog/__init__.py", line 285, in
run_wsgi
     for what in super(hgwebwrapped, self).run_wsgi(req):
File "/usr/lib64/python2.6/site-packages/mercurial/hgweb/hgweb_mod.py", line
251, in run_wsgi
     content = getattr(webcommands, cmd)(self, req, tmpl)
   File "/usr/lib64/python2.6/site-packages/mercurial/hgweb/webcommands.py",
line 568, in summary
     i = reversed(web.repo.tagslist())
   File "/usr/lib64/python2.6/site-packages/mercurial/localrepo.py", line 676,
in tagslist
     for t, n in self.tags().iteritems():
   File "/usr/lib64/python2.6/site-packages/mercurial/localrepo.py", line 622,
in tags
     self.changelog.rev(v)
   File "/usr/lib64/python2.6/site-packages/mercurial/changelog.py", line 186,
in rev
     r = super(changelog, self).rev(node)
   File "/usr/lib64/python2.6/site-packages/mercurial/revlog.py", line 308, in
rev
     return self._nodecache[node]
 RevlogError

We see this with very low frequency. If I had to venture a guess, I'd say it is
a race condition with a push operation.

We should be deploying 3.2.1 soon. Remind me in a week to report whether we
still encounter the problem in a slightly newer version.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list