From issues-return-100486-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Thu Oct 10 11:28:03 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 9D33A18065C for ; Thu, 10 Oct 2019 13:28:03 +0200 (CEST) Received: (qmail 94199 invoked by uid 500); 10 Oct 2019 11:28:02 -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 94112 invoked by uid 99); 10 Oct 2019 11:28:02 -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; Thu, 10 Oct 2019 11:28:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8CF11E3101 for ; Thu, 10 Oct 2019 11:28:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 57FC178054C for ; Thu, 10 Oct 2019 11:28:00 +0000 (UTC) Date: Thu, 10 Oct 2019 11:28:00 +0000 (UTC) From: "Maxim Muzafarov (Jira)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-11089) Get rid of partition ID in intra-partition page links stored in delta records 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-11089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maxim Muzafarov updated IGNITE-11089: ------------------------------------- Fix Version/s: (was: 2.8) > Get rid of partition ID in intra-partition page links stored in delta records > ----------------------------------------------------------------------------- > > Key: IGNITE-11089 > URL: https://issues.apache.org/jira/browse/IGNITE-11089 > Project: Ignite > Issue Type: Improvement > Reporter: Ivan Rakov > Priority: Major > > We had faced numerous bugs when pages that were initially allocated in partition X migrated to partition Y (example: IGNITE-8659). Such migration may cause storage corruption: if partition Y gets evicted, attempt to dereference link to migrated page will cause error. > We may prevent such situations in general and gain a few percent performance boost at the same time: > 1) Locate all links to pages in delta records, including self-links (examples: InitNewPageRecord#newPageId, PagesListSetNextRecord#nextPageId, MergeRecord#rightId). > 2) Change storing format for such links: save only 6 bytes instead of 8 (without partition ID). > 3) In every delta record constructor, assert that link's partition ID is equal to PageDeltaRecord#pageId. Exception is pages from index partition: they may refer to pages from other partitions by design. -- This message was sent by Atlassian Jira (v8.3.4#803005)