New discovery code

Augie Fackler lists at durin42.com
Wed May 4 07:52:11 CDT 2011


On Tue, May 3, 2011 at 10:29 PM, Matt Mackall <mpm at selenic.com> wrote:
> Peter's new discovery code from the sprint is in the tree and I've got
> it running on http://selenic.com/hg and /repo.
>
> a) It's really much faster. I've got a test here of a kernel repo that's
> over 10k csets behind tip. Old discover takes at least a few dozen round
> trips and about a minute, new discovery takes 2 round trips and about a
> second.

Outstanding!

>
> b) It's too aggressive for servers that support the known command but
> not long args. It defaults to 200 nodes per query, which works out to 8k
> bytes, way over the 1k URL limit. This is probably restricted to a
> narrow range of people running the post-1.8 default branch, but it bit
> me.

I feel like we should verify this - if it's really only post-1.8
default branch users, just mention it in release notes and move on?
Non-stable-branch users should be savvy enough to pay attention to
warnings like this IMO.

>
> --
> Mathematics is the supreme nostalgia of our time.
>
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>


More information about the Mercurial-devel mailing list