Dear ZFS and Time Slider teams: Will you marry me?

I'm sure my wife and your wives (or husbands) and children will understand.

You see, I was working on my home system this afternoon, writing code instead of enjoying the summer weather, when I hit the following:

stgreen@blue:~/Projects/silv/work$ hg verify
\*\* unknown exception encountered, details follow
\*\* report bug details to http://www.selenic.com/mercurial/bts
\*\* or mercurial@selenic.com
\*\* Mercurial Distributed SCM (version 1.1.2)
\*\* Extensions loaded: 
Traceback (most recent call last):
  File "/usr/bin/hg", line 20, in ?
    mercurial.dispatch.run()
[...]
  File "/usr/lib/python2.4/vendor-packages/mercurial/revlog.py", line 379, in parseindex
    index, nodemap, cache = parsers.parse_index(data, inline)
ValueError: corrupt index file

This made me, shall we say, unhappy. This made me realize that I hadn't done a push to the "main" hg repository since I started the new project that I had just recently gotten working, so I was looking at losing more than a thousand lines of code.

But there you were, ZFS and Time Slider, ready to pick me up and get me back in the game:

You are the wind beneath my wings:

stgreen@blue:~/Desktop/work$ hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
3209 files, 266 changesets, 3862 total revisions

I only lost 15 minutes of work, and those 15 minutes don't even matter, because for those 15 minutes, I was screwing around in a virtualized Ubuntu getting GWT hosting mode working. I only lost two small changes.

I have no idea what caused this problem. ZFS isn't reporting any errors on the drive, but the hg and virtualbox forums suggest that the vboxsf filesystem might be corrupting files. So, note to self: push to the main hg repository before cloning to the virtualized Ubuntu!

And I'm 100% serious about that marriage thing.

Comments:

Thanks Steve - I'll pass your advances onto the missus and let her decide whether I'm worth keeping! :-)

Posted by Tim Foster on July 27, 2009 at 04:27 AM EDT #

OK, Tim. Let me know what she says. I'm willing to move to Utah if necessary.

Posted by Stephen Green on July 27, 2009 at 11:54 AM EDT #

I just checked with my missus and her advice for you is "Caveat Emptor" :)

Posted by Niall Power on July 27, 2009 at 07:05 PM EDT #

Fair enough Niall, but the offer stands. Sounds like she'd be glad to get you off her hands :-)

Posted by Stephen Green on July 28, 2009 at 03:06 AM EDT #

OK, Tim. If Niall's in, then we should all live in Australia. The Sun office there is only about 8km from where I used to live (across the street from Macquarie Uni). I think I've had enough of Northern Hemisphere winters for a while.

Posted by Stephen Green on July 28, 2009 at 03:26 AM EDT #

Post a Comment:
Comments are closed for this entry.
About

This is Stephen Green's blog. It's about the theory and practice of text search engines, with occasional forays into recommendation and other technologies that can use a good text search engine. Steve is the PI of the Information Retrieval and Machine Learning project in Oracle Labs.

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today