Skip to content

STORM-549: "topology.enable.message.timeouts" does nothing#309

Merged
asfgit merged 1 commit into
apache:masterfrom
SeanTAllen:master
Nov 14, 2014
Merged

STORM-549: "topology.enable.message.timeouts" does nothing#309
asfgit merged 1 commit into
apache:masterfrom
SeanTAllen:master

Conversation

@SeanTAllen

Copy link
Copy Markdown
Contributor

The ability to turn off message timeouts doesn't work.
The value is a true/false value that is represented as
a Java Boolean. The check for the truthiness used the
clojure not function. The idea was, turn off message
timeouts if "topology.enable.message.timeouts" is not true.
Unfortunately this won't worth with clojure's definition of
truthiness as:

(not (Boolean. false))

evaluates to true.

This commit updates the logic to compare the Java Boolean
"topology.enable.message.timeouts" to false using the
= function which will work.

@harshach

harshach commented Nov 8, 2014

Copy link
Copy Markdown
Contributor

+1

@HeartSaVioR

Copy link
Copy Markdown
Contributor

@SeanTAllen @harshach
Hey, I've added unit test to PR branch.
I've confirmed that fails on current master branch of Apache Storm and succeeds on current modification.
Could you check it and merge to reflect current PR? Thanks!

@SeanTAllen

Copy link
Copy Markdown
Contributor Author

@HeartSaVioR merge it into my master and update the PR?

Add unit test for disable tuple timeout (adding to #309)
@SeanTAllen

Copy link
Copy Markdown
Contributor Author

@HeartSaVioR done

@HeartSaVioR

Copy link
Copy Markdown
Contributor

@SeanTAllen Thanks!

@ptgoetz

ptgoetz commented Nov 14, 2014

Copy link
Copy Markdown
Member

+1

1 similar comment
@nathanmarz

Copy link
Copy Markdown
Contributor

+1

@ptgoetz

ptgoetz commented Nov 14, 2014

Copy link
Copy Markdown
Member

Thanks @SeanTAllen. I merged this into master and 0.9.3.

@asfgit asfgit merged commit cc633a9 into apache:master Nov 14, 2014
knusbaum pushed a commit to knusbaum/incubator-storm that referenced this pull request Feb 11, 2015
[YSTORM-456] Fix nimbus logviewer forwarding bouncer cookie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants