Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLv9p-0000jW-4m for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Jun 2017 17:35:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dLv9o-0007w1-MO for pgsql-hackers@arkaria.postgresql.org; Fri, 16 Jun 2017 17:35:40 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dLv8C-0002mt-Fb for pgsql-hackers@postgresql.org; Fri, 16 Jun 2017 17:34:00 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dLv85-0006GV-1t for pgsql-hackers@postgresql.org; Fri, 16 Jun 2017 17:33:58 +0000 Received: by mail-lf0-x244.google.com with SMTP id v20so4851489lfa.2 for ; Fri, 16 Jun 2017 10:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=SA0pdEJIti0G9OfhqGF3JEOlRU/bni711FNv/AYpCT8=; b=iqG9IlE2ltbFuGrvsVGs+x5cFvdN6c95oAL5hUPR6+KVan0p69lpvvxsXxTAvb5HAp Q29Jkt/QDPFVDnaNUULgmLkmhiXwac/37Gp3fwFEL6gisbc47DifCdRKNklNkNAZPVCO rbFw36HReCGncN07Kh48eXhjfuO8+ja9DgE3gdMQt2vVX4yEzbfI6M3xw+8n1HYdbJkx vTFsk/FhH2fZJupWhGdxinTObjXaHbZ0pdLg9qi3p5m1WkHq2n8qi6RAVkCHzYxgMV9a 9uukG5Rsvi8U/OqvUFCL25icuekZgOnO+OudJAbbfhV/YeXnyvLRL4WGGtG+UrjlUz1W eayg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=SA0pdEJIti0G9OfhqGF3JEOlRU/bni711FNv/AYpCT8=; b=U8avzq0hTM1wfWZc8U0Fbt2XNXSRlBq5gTLFS5v1REd5Kl/gfiP1f3FUgDGbGxjsgl xYAo+cZ3W42XslCmzsn15Koee4RrqhqG/Fb99cicm1xNEzZQ7L3BTbzkdqwcVY/5XvpJ jU0YXCxBNdLVYFvQsX+3ExXcy8/2kNzVayJWMPf8lI7LXyS91azO5eX/ga1/b2XS3nnH EoDNXd+DYs3EC2ELwOJOZyuC8UML1jwuH/UDdMcAnhyA+IZta6IxOqoSIzFWXqV8NaIh LvCoETSl/f04aSGlS+vbuYHmfhVBgTMpwBRFpUYj5xffZk8raHYHoOm+PnB/dq0JHSTX XUxA== X-Gm-Message-State: AKS2vOzbEmnANNURmloIa/hcIyPeV0KHQHywOTfC6kHg2nEdAWzLDdwI iVjXd8HYPahbm1Fc9RRPTg== X-Received: by 10.46.22.73 with SMTP id 9mr3427776ljw.79.1497634430734; Fri, 16 Jun 2017 10:33:50 -0700 (PDT) Received: from seb.koffice.internal (koffice.avito.ru. [195.151.206.25]) by smtp.gmail.com with ESMTPSA id m18sm738150lfj.21.2017.06.16.10.33.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 10:33:49 -0700 (PDT) From: Sergey Burladyan To: Bruce Momjian Cc: Amit Kapila , Vladimir Borodin , Dmitriy Sarafannikov , pgsql-hackers Subject: Re: Broken hint bits (freeze) References: <4C1127FC-74AE-4544-9B22-6A32FD0C0607@yandex.ru> <948C9927-CC63-47F7-87B9-1FA5921E6D4A@yandex.ru> <0DFC2046-3025-465E-BBB8-1E55479A9B7D@simply.name> <20170613193124.GQ13873@momjian.us> <87mv98af8j.fsf@seb.koffice.internal> <20170616164641.GP11450@momjian.us> Date: Fri, 16 Jun 2017 20:33:48 +0300 In-Reply-To: <20170616164641.GP11450@momjian.us> (Bruce Momjian's message of "Fri, 16 Jun 2017 12:46:41 -0400") Message-ID: <87fuezalc3.fsf@seb.koffice.internal> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Bruce Momjian writes: > On Fri, Jun 16, 2017 at 08:10:13PM +0530, Amit Kapila wrote: > > On Fri, Jun 16, 2017 at 7:03 AM, Sergey Burladyan wrote: > > > Bruce Momjian writes: > > > > > >> ! against the old primary and standby clusters. Verify that the > > >> ! Latest checkpoint location values match in all clusters. > > > > > > For "Log-Shipping only" standby server this cannot be satisfied, because > > > last WAL from master (with shutdown checkpoint) never archived. > > > > > > > Yeah, we have ensured that all the transactions before shutdown > > checkpoint got archived. It is done in commit > > 2e6107cb621d003dcab0df53ac8673ea67c4e467. However, it is not clear to > > me neither it is mentioned in comments why we have done it that way. > > Yes, I am confused why Sergey doesn't see that behavior. I think this last new switched WAL with shutdown checkpoint record is incomplete and it does not marked as *.ready in pg_xlog/archive_status/ and not archived. -- Sergey Burladyan -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers