From: Rusty Russell <rusty@rustcorp.com.au>
To: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [RFC] Switching store to use domain id's for keys
Date: Mon, 05 Sep 2005 10:11:20 +1000 [thread overview]
Message-ID: <1125879080.24158.27.camel@localhost.localdomain> (raw)
In-Reply-To: <20050831092846.GX24659@cl.cam.ac.uk>
On Wed, 2005-08-31 at 10:28 +0100, Christian Limpach wrote:
> On Tue, Aug 30, 2005 at 03:32:46PM -0500, Anthony Liguori wrote:
> > Perhaps now is a good time to reconsider just using domain ids instead
> > of UUIDs for the paths? In a cluster we could just use
> > <nodeid>/domain/<domid> for unique identification.
>
> We'd like the identifier for a domain to remain the same after
> relocating the domain to a different physical machine.[1]
You're never going to have the property that a uuid always maps to the
same domain, or a domain always has the same uuid, if we ever introduce
forking of domains by any method. So, I think this is a losing battle,
but it's causing a mess of the store as a side effect.
As far as I can tell, UUIDs are a third identifier of domains, which buy
nothing over the existing two: names (cluster-wide unique, human
readable, slow), and domids (locally unique, fast).
> If we consider changing this, I'd go for /domain/<nodeid>-<domid>. It
> would make it easy to find the path for a domain on its home node but
> it wouldn't work anymore once you move the domain to a new host.
That only makes sense if a single store is shared across the entire
cluster. Otherwise the <node-id> is completely redundant, since it will
be the same for all visible domains.
A better solution might be to federate at the top level, so it would be
"/<nodeid>/domain..." in a cluster environment. Then such a federated
store does not need to effect today's plans.
Rusty.
--
A bad analogy is like a leaky screwdriver -- Richard Braakman
next prev parent reply other threads:[~2005-09-05 0:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-30 20:32 [RFC] Switching store to use domain id's for keys Anthony Liguori
2005-08-31 9:28 ` Christian Limpach
2005-08-31 20:40 ` Anthony Liguori
2005-09-05 0:11 ` Rusty Russell [this message]
2005-09-05 0:26 ` Steven Hand
2005-09-05 1:05 ` Rusty Russell
2005-09-05 1:43 ` Steven Hand
2005-09-05 2:53 ` Rusty Russell
2005-09-05 8:35 ` Steven Hand
2005-09-05 8:52 ` Keir Fraser
2005-09-06 0:07 ` Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1125879080.24158.27.camel@localhost.localdomain \
--to=rusty@rustcorp.com.au \
--cc=Christian.Limpach@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.