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 5E473200C77 for ; Mon, 10 Apr 2017 10:28:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5D1B2160B85; Mon, 10 Apr 2017 08:28:46 +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 90AF1160BA7 for ; Mon, 10 Apr 2017 10:28:45 +0200 (CEST) Received: (qmail 44741 invoked by uid 500); 10 Apr 2017 08:28:44 -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 44665 invoked by uid 99); 10 Apr 2017 08:28:44 -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; Mon, 10 Apr 2017 08:28:44 +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 6E1CE18056F for ; Mon, 10 Apr 2017 08:28:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, 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 nSbLPF2_MihL for ; Mon, 10 Apr 2017 08:28:43 +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 2E6575FD84 for ; Mon, 10 Apr 2017 08:28:43 +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 BA525E0D1C for ; Mon, 10 Apr 2017 08:28:42 +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 23D4224071 for ; Mon, 10 Apr 2017 08:28:42 +0000 (UTC) Date: Mon, 10 Apr 2017 08:28:42 +0000 (UTC) From: "Alexey Kuznetsov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-3622) BinaryObject: print idHash in toString() method only in debug mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 10 Apr 2017 08:28:46 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Kuznetsov updated IGNITE-3622: ------------------------------------- Fix Version/s: (was: 2.0) 2.1 > BinaryObject: print idHash in toString() method only in debug mode > ------------------------------------------------------------------ > > Key: IGNITE-3622 > URL: https://issues.apache.org/jira/browse/IGNITE-3622 > Project: Ignite > Issue Type: Task > Components: newbie > Affects Versions: 1.6 > Reporter: Alexey Kuznetsov > Assignee: Rohit Mohta > Priority: Trivial > Fix For: 2.1 > > > Current implementation of BinaryObject.toString() method print idHash for internal objects, for example, for AffinityKey. > This lead to "unstable" result of toString() method, you will get different strings on each toString() invocation. > Possible fix: introduce > {code} > private static final boolean debug = false; > {code} > And check this flag in toString(). > If some one will need idHash for debug reasons he could change this flag in its private build and debug. -- This message was sent by Atlassian JIRA (v6.3.15#6346)