From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNWd6-00006v-St for qemu-devel@nongnu.org; Sun, 24 Jan 2016 21:11:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNWd6-0003tX-1d for qemu-devel@nongnu.org; Sun, 24 Jan 2016 21:11:44 -0500 References: <20160122193534.GF2482@work-vm> <56A57B43.1040103@cn.fujitsu.com> From: Li Zhijian Message-ID: <56A58441.4030704@cn.fujitsu.com> Date: Mon, 25 Jan 2016 10:11:13 +0800 MIME-Version: 1.0 In-Reply-To: <56A57B43.1040103@cn.fujitsu.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] COLO: how to flip a secondary to a primary? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wen Congyang , "Dr. David Alan Gilbert" , Changlong Xie , zhanghailiang Cc: Simon Kollberg , Luis Tomas , qemu devel , qemu block , Abel Souza On 01/25/2016 09:32 AM, Wen Congyang wrote: >> > f) I've not thought about the colo-proxy that much yet - I guess that >> > existing connections need to keep their sequence number offset but Strictly speaking, after failover, we only need to keep servicing for the tcp connections which are established after the last checkpoint but not all existing connections. Because after a checkpoint (primary and secondary node works well), primary vm and secondary vm is same, that means the existing tcp connection has the same sequence。 >> > new connections made by what is now the primary dont need to do anything >> > special. Yes, you are right. > Hailiang or Zhijian can answer this question. Thanks Li Zhijian