Re: [PATCH] Implement persistent id for proxies and servers

From: Willy Tarreau <w#1wt.eu>
Date: Thu, 28 Feb 2008 17:28:29 +0100


On Sat, Feb 23, 2008 at 01:22:41AM +0100, Krzysztof Oledzki wrote:
> >From be4c911d87a6ac800a1fb33828fa87b5fc2806a6 Mon Sep 17 00:00:00 2001
> From: Krzysztof Piotr Oledzki <ole#ans.pl>
> Date: Sat, 23 Feb 2008 01:19:10 +0100
> Subject: [PATCH] [MINOR] Implement persistent id for proxies and servers
>
> This patch adds a possibility to set a persistent id for a proxy/server.
> Now, even if some proxies/servers are inserted/deleted/moved, iids and
> sids can be still used reliable.

I like the idea a lot. I have merged your patch (with a few minor typos such as BACKED->BACKEND, or CVS->CSV).

Right now, I'm a bit worried about the requirement to assign ids > 1000 and the fact that we don't check for conflicts (I know people with almost 500 instances).

But we'll be able to improve this later. I have already identified that proxies should be dual-linked. It will then be easier to move instances in the list, then automatically assign numbers to the unnumberred ones.

Thanks,
Willy Received on 2008/02/28 17:28

This archive was generated by hypermail 2.2.0 : 2008/02/28 17:30 CET