• Home
  • About
  • Archives
  • Colophon
  • Resume
  • Tags
  • Tumblr

zanshin.net

because not enough websites start with the letter “Z”

Feed on
Posts
Comments
Tumblr
« In a land before time
Indecision »

Momentary Lapse of Reason

Sep 13th, 2002 by mark

The development work I perform as a consultant involves a shared code-base. All the work done by all the developers here is kept in a central repository. Each of us has one or more workspaces where we can check out code, make changes to it, and later integrate our changes so that the other developers have access to the latest version.

Over time, due to constant changes being made by developers the central repository grows in size. Once it reaches a gigabyte bad things start to happen. The way to restore order is to export all the code to a file, destroy the repository and then build a new repository in its place. Once the new repository is in place all the work is imported from the file. This usually reduces the size from 800~900 meg to 200 or so.

It is critical that each developer integrate his or her work prior to this cleanse process, otherwise it will be lost forever. Once that old repository is deleted there is no going back. There is no undo.

Last night there was a cleanse and I was certain that I had integrated all of my work. This morning, however, when I opened my workspace in the brand new repository none of my recent changes were there. In fact it appeared that none of the work from the past month was there.

I freaked out. For a few moments I thought I had screwed up my integration or forgotten it altogether. The past month has been extremely busy and productive in terms of new code for me. I had created dozens of new windows, and written hundreds, thousands of new lines of code. All seemingly gone.

Friday the 13th indeed.

In the end the problem was larger than just me. The process to import the backup file had used the wrong version of the backup file. Everyone had been reset to August 15th. Simply by re-running the load process with the correct file order would be restored.

For me the worst part of the experience today was the few moments when I first discovered all my code was missing. When I was worried that I had screwed up. It was a major “oh no” second.

My lapse of reason has passed now.

Posted in nerdliness

Comments are closed.

  • Welcome!

    Mark H. Nichols is an enterprise architect, martial artist, nerd, and all around good guy. Currently he works in Kansas City, and lives in the suburbs with his fiancée, two cats, a couple pianos, and nearly a dozen computers. You can read more about Mark, and this site, or explore the archives.
  • Pages

    • About
    • Archives
    • Colophon
    • Resume
    • Tags
    • Tumblr
  • Popular

    • Shotski's Ring (part I)
    • Shotski's Ring (part II)
    • 10 Mac Apps
    • What is Zanshin?
  • Categories

    • diversions
    • elsewhere
    • family
    • health
    • life
    • links
    • meme
    • nerdliness
    • photography
    • random
    • relationships
    • social issues
  • Archives

    • Blogroll

      • Change.gov
      • Elfenbein Klaviermusik Notes
      • Shawn Blanc
      • Sibylle Kuder
  • last.fm

    1. cd cover
    2. cd cover
    3. cd cover
    4. cd cover
    5. cd cover
    6. cd cover

zanshin.net © 1996 - 2009 All Rights Reserved.

Policies | WordPress Themes | Web Hosting Blue Host