« September 2008 »
SunMonTueWedThuFriSat
 
1
2
3
4
5
6
7
8
9
10
11
13
14
15
18
24
    
       
Today
XML

Neat blogs

Navigation

Editing

Powered by Roller Weblogger.

statcounter.com

clustrmaps.com

Locations of visitors to this page

technorati.com

20080922 Monday September 22, 2008
Refactoring the XDR code

I had to go into the Data Server code to add the string representation for a data set storage unit. I.e., we much more prefer ds1:/pool/dpool1 to some honking large guid. But the code actually cares more for the guid. Anyway, I soon figured out that the DS code always regenerated the XDR code.

And I got to thinking, I didn't really like having two physical copies of the code. So, I bit the bullet and completely went to automated XDR. I could have kept it handcrafted, with only one physical copy, but where is the challenge in that I ask you?

Luckily, the pain from last week was still fresh in my head and I knew exactly which pieces of the spe data structures needed to be massaged. It took me 3-4 hours, mainly in getting the XDR code copied into the right places during the build, but I know have it automated.

Well, I have it automated but I haven't tested it yet. Guess what I'm about to start unit testing on tonight?


Originally posted on Kool Aid Served Daily
Copyright (C) 2008, Kool Aid Served Daily