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 25CB82009F3 for ; Fri, 6 May 2016 07:58:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2498B160A04; Fri, 6 May 2016 05:58:15 +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 927DE160A05 for ; Fri, 6 May 2016 07:58:14 +0200 (CEST) Received: (qmail 20440 invoked by uid 500); 6 May 2016 05:58:13 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 20404 invoked by uid 99); 6 May 2016 05:58:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 May 2016 05:58:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 06DF32C1F60 for ; Fri, 6 May 2016 05:58:13 +0000 (UTC) Date: Fri, 6 May 2016 05:58:13 +0000 (UTC) From: "mck (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-11706) Tracing payload not passed through newSession(..) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 06 May 2016 05:58:15 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mck updated CASSANDRA-11706: ---------------------------- Attachment: (was: 11706-trunk.txt) > Tracing payload not passed through newSession(..) > ------------------------------------------------- > > Key: CASSANDRA-11706 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11706 > Project: Cassandra > Issue Type: Bug > Reporter: mck > Assignee: mck > Priority: Minor > Labels: tracing > Fix For: 3.6 > > Attachments: 11706-trunk.txt > > > Caused by CASSANDRA-10392 > There's a small bug in https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/tracing/Tracing.java#L153 > {noformat} > public UUID newSession(UUID sessionId, Map customPayload) > { > return newSession(sessionId, TraceType.QUERY, Collections.EMPTY_MAP); > }{noformat} > in that it passes on an {{EMPTY_MAP}} instead of the {{customPayload}}. > I've marked this as "minor" as custom tracing plugins can easily enough workaround it by also overriding the {{newSession(UUID sessionId, Map customPayload)}} method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)