[PATCH 5 of 5 RFC] exchange: support phases discovery via public heads

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sat Feb 20 12:20:29 EST 2016



On 02/16/2016 03:03 AM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1455588068 28800
> #      Mon Feb 15 18:01:08 2016 -0800
> # Node ID d51ed0ddd05c3c716df5fbd2e811285bcac7366c
> # Parent  8b939990c70a4e545f18db3338f7798f09a94ada
> exchange: support phases discovery via public heads
>
> Now that we can detect when the server supports exposing phases via
> public heads, we leverage this namespace as part of phases discovery.
>
> On Mozilla's Try repository, the phases listkeys response drops from
> ~64k entries / 2.8 MB to < 1000 entries and < 65 kbytes.

I think the discovery process need an overall rework, There is multiple 
types of data running there own discovery with a lot of overlap and race 
condition.

I would rather go in that direction instead. What do you think?

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list