Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tie command property to thread interrupt #647

Conversation

mattrjacobs
Copy link
Contributor

Addresses #354 and #598. I think this causes some Javanica unit tests to fail. Will address those next

Matt Jacobs added 3 commits February 6, 2015 13:23
… interruptions

Conflicts:
	hystrix-core/src/test/java/com/netflix/hystrix/HystrixCommandTest.java
…rties to HystrixContextScheduler

* There are now 2 varieties of HystrixContextScheduler, 1 that produces Actions which cause thread-interrupts on unsubscription
and 1 that produces Actions which never interrupt threads.
* The proper Scheduler gets chosen when the subscribeOn is wired into the command flow
@cloudbees-pull-request-builder

NetflixOSS » Hystrix » Hystrix-pull-requests #28 FAILURE
Looks like there's a problem with this pull request

@mattrjacobs
Copy link
Contributor Author

There's also an open issue about how to represent thread-interruption in ScheduledActions in RxJava. Relates to ReactiveX/RxJava#2579

@mattrjacobs
Copy link
Contributor Author

I looked for a few minutes at the failing unit tests in hystrix-javanica and didn't see an obvious reason why they are failing now.

I could use some help from those more familiar with hystrix-javanica. Any ideas, @dmgcodevil, @sawano / others?

@cloudbees-pull-request-builder

NetflixOSS » Hystrix » Hystrix-pull-requests #29 SUCCESS
This pull request looks good

@mattrjacobs
Copy link
Contributor Author

Merging this so I can make forward progress on top of this. Opened up a new issue (#663) to track the Javanica unit tests

mattrjacobs added a commit that referenced this pull request Feb 10, 2015
…ad-interrupt-2

Tie command property to thread interrupt
@mattrjacobs mattrjacobs merged commit 66b5323 into Netflix:master Feb 10, 2015
@mattrjacobs mattrjacobs deleted the tie-command-property-to-thread-interrupt-2 branch February 10, 2015 05:16
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.

2 participants