On Wed, Jul 31, 2013 at 11:30 PM, Branko Čibej <br...@wandisco.com> wrote:
> People will also "svnadmin create" and then "cp -a" the results all over
> the place -- a case where using an inode is better than using a UUID.

At least with the cache system you can solve that by simply also
storing the path as part of your cache key.

E.G.
CACHE_KEY=$REPO_UUID:$INSTANCE_UUID:$PATH

If people move repos around with a running instance or even create and
then dup those repos the cache will still work properly.  Though you
lose some efficiency if people move repos around without restarting
the server, but I think that's a small cost to pay since it's going to
be rare that people will be moving repos around without restarting the
server.

You can also add some code to the server to whine if you have multiple
repositories that it's caching with the same instance id.  To try to
discourage people from doing this.  On top of documentation to explain
why this is important.

Reply via email to