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 3F72D200BCA for ; Mon, 21 Nov 2016 15:24:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3E479160AF9; Mon, 21 Nov 2016 14:24:05 +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 7C4D2160AEC for ; Mon, 21 Nov 2016 15:24:04 +0100 (CET) Received: (qmail 84188 invoked by uid 500); 21 Nov 2016 14:23:58 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 84080 invoked by uid 99); 21 Nov 2016 14:23:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2016 14:23:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 636032C1F55 for ; Mon, 21 Nov 2016 14:23:58 +0000 (UTC) Date: Mon, 21 Nov 2016 14:23:58 +0000 (UTC) From: "Kostas Kloudas (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-5111) Change the assignToKeyGroup() method to not use Object.hashCode() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 21 Nov 2016 14:24:05 -0000 Kostas Kloudas created FLINK-5111: ------------------------------------- Summary: Change the assignToKeyGroup() method to not use Object.hashCode() Key: FLINK-5111 URL: https://issues.apache.org/jira/browse/FLINK-5111 Project: Flink Issue Type: Bug Affects Versions: 1.2.0 Reporter: Kostas Kloudas Priority: Blocker Fix For: 1.2.0 Currently we use the Object.hashCode method as an intermediate step to assign an item to a key group. According to the java documentation: "This integer (returned by the method) need not remain consistent from one execution of an application to another execution of the same application." This means that a key may be assigned to another keygroup after restoring. This can easily break the semantics of a pipeline. -- This message was sent by Atlassian JIRA (v6.3.4#6332)