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 DC14A200B5C for ; Thu, 11 Aug 2016 22:25:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DA8EA160A94; Thu, 11 Aug 2016 20:25:21 +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 55003160A90 for ; Thu, 11 Aug 2016 22:25:21 +0200 (CEST) Received: (qmail 22185 invoked by uid 500); 11 Aug 2016 20:25:20 -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 22172 invoked by uid 99); 11 Aug 2016 20:25:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2016 20:25:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6CECA2C029E for ; Thu, 11 Aug 2016 20:25:20 +0000 (UTC) Date: Thu, 11 Aug 2016 20:25:20 +0000 (UTC) From: "Denis Magda (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-3633) Throw an exception when binary object without explicitly set hash code is used as a key MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 11 Aug 2016 20:25:22 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417876#comment-15417876 ] Denis Magda commented on IGNITE-3633: ------------------------------------- [~al.psc], I left my review notes in the pull-request. Please consider them. > Throw an exception when binary object without explicitly set hash code is used as a key > --------------------------------------------------------------------------------------- > > Key: IGNITE-3633 > URL: https://issues.apache.org/jira/browse/IGNITE-3633 > Project: Ignite > Issue Type: Task > Components: binary, cache, SQL > Reporter: Alexander Paschenko > Assignee: Denis Magda > Fix For: 1.8 > > > New binary built keys erroneously get put to cache as having cache code of 0. We want to force user to set hash code explicitly by throwing an exception when they do not do so. > Proposed solution by Denis Magda: > http://apache-ignite-developers.2346864.n4.nabble.com/All-BinaryObjects-created-by-BinaryObjectBuilder-stored-at-the-same-partition-by-default-td8042i20.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)