Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 341E8200BB5 for ; Sun, 6 Nov 2016 20:33:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 32D67160B13; Sun, 6 Nov 2016 19:33:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A3CC3160B10 for ; Sun, 6 Nov 2016 20:32:59 +0100 (CET) Received: (qmail 68131 invoked by uid 500); 6 Nov 2016 19:32:58 -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 68052 invoked by uid 99); 6 Nov 2016 19:32:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2016 19:32:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B51642C2A69 for ; Sun, 6 Nov 2016 19:32:58 +0000 (UTC) Date: Sun, 6 Nov 2016 19:32:58 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-2626) Binary marshaller: sort fields alphabetically MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 06 Nov 2016 19:33:00 -0000 [ https://issues.apache.org/jira/browse/IGNITE-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov updated IGNITE-2626: ------------------------------------ Fix Version/s: (was: 1.8) 2.0 > Binary marshaller: sort fields alphabetically > --------------------------------------------- > > Key: IGNITE-2626 > URL: https://issues.apache.org/jira/browse/IGNITE-2626 > Project: Ignite > Issue Type: Improvement > Components: cache, platforms > Affects Versions: 1.1.4 > Reporter: Pavel Tupitsyn > Fix For: 2.0 > > > Currently we write object fields in the order they come from reflection. > 1) There is no guarantee that this order is consistent across multiple calls > 2) Platforms may have corresponding objects with different field order > => There are situations when write and read field order is different, which hurts performance. > Sorting fields alphabetically in Java and platforms will ensure the same ordering. -- This message was sent by Atlassian JIRA (v6.3.4#6332)