You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2018/09/17 17:34:08 UTC

[1/2] storm git commit: STORM-3205 Optimization in TuplImpl

Repository: storm
Updated Branches:
  refs/heads/master dc70ffdba -> 37d22b8df


STORM-3205 Optimization in TuplImpl


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/9f77b88e
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/9f77b88e
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/9f77b88e

Branch: refs/heads/master
Commit: 9f77b88e6151da367f34e6825fe82b063e1eaa95
Parents: f5a410b
Author: roshannaik <na...@gmail.com>
Authored: Fri Sep 14 02:24:32 2018 -0700
Committer: roshannaik <na...@gmail.com>
Committed: Fri Sep 14 02:24:32 2018 -0700

----------------------------------------------------------------------
 storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/9f77b88e/storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java
----------------------------------------------------------------------
diff --git a/storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java b/storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java
index 06bfd48..27fa958 100644
--- a/storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java
+++ b/storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java
@@ -46,7 +46,7 @@ public class TupleImpl implements Tuple {
     }
 
     public TupleImpl(GeneralTopologyContext context, List<Object> values, String srcComponent, int taskId, String streamId, MessageId id) {
-        this.values = Collections.unmodifiableList(values);
+        this.values = context.doSanityCheck() ? Collections.unmodifiableList(values) : values;
         this.taskId = taskId;
         this.streamId = streamId;
         this.id = id;


[2/2] storm git commit: Merge branch 'STORM-3205' of https://github.com/roshannaik/storm into STORM-3205

Posted by bo...@apache.org.
Merge branch 'STORM-3205' of https://github.com/roshannaik/storm into STORM-3205

STORM-3205: Optimization in TuplImpl

This closes #2832


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/37d22b8d
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/37d22b8d
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/37d22b8d

Branch: refs/heads/master
Commit: 37d22b8df999c5293bd1f4eea6f10b809c3c2f87
Parents: dc70ffd 9f77b88
Author: Robert Evans <ev...@yahoo-inc.com>
Authored: Mon Sep 17 12:11:56 2018 -0500
Committer: Robert Evans <ev...@yahoo-inc.com>
Committed: Mon Sep 17 12:11:56 2018 -0500

----------------------------------------------------------------------
 storm-client/src/jvm/org/apache/storm/tuple/TupleImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------