[Planetlab-devel] site_id in slices - need to remove the NOT NULL
constraint
Thierry Parmentelat
Thierry.Parmentelat at sophia.inria.fr
Tue Nov 14 08:40:06 EST 2006
Mark
there's a restriction on site_ids in the slices table.
NOT NULL
like there was in the nodes table
except that this time there's also an index on site_id's so I was unsure
whether I could clear the restriction
right now I'm shoving '1' in site_id just so I can go on, but of course
that's not gonna make it.
can I clear the restriction, or what else should I do ? here again the
idea of pre-defining a dummy 'other-peers' site entry could make sense.
PS. once I have the nodes and slices cached, I'll have to refactorize
the whole stuff that is right now an ugly cut'n'paste; I'd like to have
the caching logic written once and for good, and let the various classes
handle only what's worth it.
maybe by then I could cache sites as well, so the issue would as well
vanish altogether at that stage.
your feedback is welcome - thierry
More information about the Devel
mailing list