From issues-return-70228-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Tue Jul 24 12:57:05 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C25C6180679 for ; Tue, 24 Jul 2018 12:57:04 +0200 (CEST) Received: (qmail 65930 invoked by uid 500); 24 Jul 2018 10:57:03 -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 65921 invoked by uid 99); 24 Jul 2018 10:57:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2018 10:57:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 734871800C5 for ; Tue, 24 Jul 2018 10:57:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Wh_aOPrDwyKA for ; Tue, 24 Jul 2018 10:57:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4A2245F42E for ; Tue, 24 Jul 2018 10:57:02 +0000 (UTC) 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 7A2CFE0289 for ; Tue, 24 Jul 2018 10:57:01 +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 8829527752 for ; Tue, 24 Jul 2018 10:57:00 +0000 (UTC) Date: Tue, 24 Jul 2018 10:57:00 +0000 (UTC) From: "Stanislav Lukyanov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-8719) Index left partially built if a node crashes during index create or rebuild MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-8719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16554095#comment-16554095 ] Stanislav Lukyanov commented on IGNITE-8719: -------------------------------------------- There is a similar issue with an empty index tree being persisted. I can reproduce it by shutting node down forcibly (kill -9 or taskkill /f), but I guess the key is in shutting down in the middle of checkpoint or something like that. The reproducer is attached: [^IndexRebuildingTest.java]. > Index left partially built if a node crashes during index create or rebuild > --------------------------------------------------------------------------- > > Key: IGNITE-8719 > URL: https://issues.apache.org/jira/browse/IGNITE-8719 > Project: Ignite > Issue Type: Bug > Reporter: Alexey Goncharuk > Assignee: Dmitriy Sorokin > Priority: Critical > Fix For: 2.7 > > Attachments: IndexRebuildingTest.java > > > Currently, we do not have any state associated with the index tree. Consider the following scenario: > 1) Start node, put some data > 2) start CREATE INDEX operation > 3) Wait for a checkpoint and stop node before index create finished > 4) Restart node > Since the checkpoint finished, the new index tree will be persisted to the disk, but not all data will be present in the index. > We should somehow store information about initializing index tree and mark it valid only after all data is indexed. The state should be persisted as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)