[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Usher difficulties
From: |
Richard Levitte - VMS Whacker |
Subject: |
Re: [Monotone-devel] Usher difficulties |
Date: |
Mon, 10 Apr 2006 16:09:52 +0200 (CEST) |
In message <address@hidden> on Mon, 10 Apr 2006 09:48:49 -0400, Ethan Blanton
<address@hidden> said:
eblanton> First, usher has not been updated to exec 'mtn' by default
eblanton> rather than 'monotone'; this is not a big deal to work
eblanton> around (usher -m mtn), but the default should probably be
eblanton> changed. A trivial patch is attached.
Applied, committed and pushed.
eblanton> Second, with both the usher from 0.26-pre3 and the usher
eblanton> from 0.26 as released, I am having trouble serving some
eblanton> databases which worked in 0.26-pre2. I am serving three
eblanton> databases from three 'local' stanzas
eblanton> (net.elitists.elb.configs.*, edu.purdue.cs.gsb.guide.*, and
eblanton> net.elitists.ical.*), and when I try to connect to
eblanton> net.elitists.elb.configs.fvwm, usher spawns a server for
eblanton> net.elitists.ical.* and connects my pull to that server --
eblanton> needless to say, this doesn't work. A copy of my usher
eblanton> server file is likewise attached.
Aha, yeah, the trouble is that usher was originally built to handle
the distinction between different sub-servers by hostname only, and
you use the same hostname for all of them. I did make a change so it
would accept several stanzas with the same hostname, but it seems I
didn't look closely enough at the the rest of the code, so you're
currently stuck with having to separate the sub-servers at a hostname
level.
I have the same goal as you, to have sub-servers differentiated by
branch patterns as well as hostnames, so I'll take a closer look in a
few days and see what can be done with it.
eblanton> (Additionally, usher dumps core on ^c, which isn't a huge
eblanton> deal in and of itself, but makes me nervous -- it appears to
eblanton> be double-destroying one of its data structures, but I
eblanton> haven't had time to dig too deep.)
Hmm, well, since usher is just a communication proxy of sorts, I see
that as a minor problem unless it introduces corruption into the
network streams. I'll parrot Nathaniel here by saying "patches
welcome!" :-)
Cheers,
Richard
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte address@hidden
http://richard.levitte.org/
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis