Return-Path: X-Original-To: apmail-storm-dev-archive@minotaur.apache.org Delivered-To: apmail-storm-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F000101A8 for ; Wed, 19 Feb 2014 16:24:57 +0000 (UTC) Received: (qmail 77404 invoked by uid 500); 19 Feb 2014 16:24:56 -0000 Delivered-To: apmail-storm-dev-archive@storm.apache.org Received: (qmail 77292 invoked by uid 500); 19 Feb 2014 16:24:54 -0000 Mailing-List: contact dev-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@storm.incubator.apache.org Delivered-To: mailing list dev@storm.incubator.apache.org Received: (qmail 77280 invoked by uid 99); 19 Feb 2014 16:24:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 16:24:54 +0000 X-ASF-Spam-Status: No, hits=-2000.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Feb 2014 16:24:53 +0000 Received: (qmail 73625 invoked by uid 99); 19 Feb 2014 16:24:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 16:24:21 +0000 Date: Wed, 19 Feb 2014 16:24:21 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@storm.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STORM-186) Milliseconds level tick tuple is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STORM-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905636#comment-13905636 ] ASF GitHub Bot commented on STORM-186: -------------------------------------- Github user xiaokang commented on the pull request: https://github.com/apache/incubator-storm/pull/37#issuecomment-35516672 hi @nathan, the root cause is that the original code "(* 1000 (long delay-secs))" will lost decimal part of delay-secs if it is a float or double value instead of an integer. For example if delay-secs is 1.5 we expect the result is 1500 ms but the result will be 1000 * 1 = 1000. > Milliseconds level tick tuple is broken > --------------------------------------- > > Key: STORM-186 > URL: https://issues.apache.org/jira/browse/STORM-186 > Project: Apache Storm (Incubating) > Issue Type: Bug > Reporter: James Xu > > dicussed here:http://mail-archives.apache.org/mod_mbox/incubator-storm-user/201312.mbox/%3CCAO%2Bnwyu4pcwarsY-GE%3DKz4GfjoRJCDC5fM6eOyYEkwj9WiJvJA%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.1.5#6160)