Many missing revlogs, do we have a problem?

Matt Mackall mpm at selenic.com
Wed Jun 17 16:57:08 UTC 2015


On Wed, 2015-06-17 at 16:58 +0200, Alban Hertroys wrote:
> I just tried a synchronize with a local copy of our master repo and it 
> failed with "empty or missing revlog". So I figured there might be a few 
> corrupted revlogs somewhere and did an hg verify on our master repo (using 
> tortoisehg 3.3). I was NOT prepared for what it told me, an excerpt from 
> the end of the (long) list:
> 
> data/xxx_austrian_env/SalesreportPointSAustriaS.fex.i at 1883: missing 
> revlog!
>  data/xxx_austrian_env/SalesreportPointSAustriaS_RC.fex.i at 1883: missing 
> revlog!
>  data/xxx_austrian_env/SalesreportPointSAustriaStart.fex.i at 1883: missing 
> revlog!
>  data/xxx_austrian_env/points.csv.i at 1883: missing revlog!
> 17922 files, 2741 changesets, 26977 total revisions
> 13 warnings encountered!
> 17985 integrity errors encountered!
> (first damaged changeset appears to be 0)
> 
> It's telling me that we have even more integrity errors than we have 
> files. Ouch!
> 
> Last time I synchronized to my local copy was sometime last week and that 
> went fine. Now suddenly we're in _this_ situation, and of course just as 
> we're about to release the committed code to our new production server. I 
> find it rather hard to believe that hg verify is telling me the truth, 
> frankly - it doesn't make sense...
> 
> Any idea how this might have happened?

Looks like someone/something deleted all the files on your server. Take
a look at .hg/store/data on both the client and server.

Fortunately every client repository is a complete copy. And of course,
you also have nightly backups of your server, right?

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list