From issues-return-97931-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Fri Aug 16 15:13:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B6970180651 for ; Fri, 16 Aug 2019 17:13:01 +0200 (CEST) Received: (qmail 42708 invoked by uid 500); 16 Aug 2019 15:13:01 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 42686 invoked by uid 99); 16 Aug 2019 15:13:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2019 15:13:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7FC89E305B for ; Fri, 16 Aug 2019 15:13:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3D8C92779C for ; Fri, 16 Aug 2019 15:13:00 +0000 (UTC) Date: Fri, 16 Aug 2019 15:13:00 +0000 (UTC) From: "Dmitriy Govorukhin (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-12081) Page replacement can reload invalid page during checkpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-12081?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitriy Govorukhin updated IGNITE-12081: ---------------------------------------- Fix Version/s: 2.7.6 > Page replacement can reload invalid page during checkpoint > ---------------------------------------------------------- > > Key: IGNITE-12081 > URL: https://issues.apache.org/jira/browse/IGNITE-12081 > Project: Ignite > Issue Type: Bug > Reporter: Dmitriy Govorukhin > Assignee: Dmitriy Govorukhin > Priority: Critical > Fix For: 2.7.6 > > > There is a race between=C2=A0{{writeCheckpointPages}}=C2=A0and page repla= cement process: > * Checkpointer thread begins a checkpoint > * Checkpointer thread calls=C2=A0{{getPageForCheckpoint()}}, which will = copy page content=C2=A0*and clear dirty flag* > * Page replacement tries to find a page for replacement and chooses this= page, the page is thrown away > * Before the page is written back to the store, the page is acquired aga= in. > As a result, an older copy of the page is brought back to memory, which c= auses all kinds of corruption exceptions and assertions. > The attached unit test demonstrates the issue. It is likely that all base= lines are affected starting from 2.4 > As a part of this ticket, we must add more unit-tests for checkpointing p= rotocol invariants we rely on. -- This message was sent by Atlassian JIRA (v7.6.14#76016)