Skip to content

Closing reactor executor when IO pipe is closed.#22192

Merged
conniey merged 7 commits intomasterfrom
conniey/close-executor
Jun 10, 2021
Merged

Closing reactor executor when IO pipe is closed.#22192
conniey merged 7 commits intomasterfrom
conniey/close-executor

Conversation

@conniey
Copy link
Member

@conniey conniey commented Jun 10, 2021

  • Disposes of reactor scheduler when "IO Sink was interrupted".
  • Update CHANGELOG entry.

@conniey conniey force-pushed the conniey/close-executor branch from c498aa1 to c117dca Compare June 10, 2021 04:14
Copy link
Contributor

@YijunXieMS YijunXieMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified with long running test. "reactor-executor" threads were cleaned when "IO Sink was interrupted".

@conniey conniey enabled auto-merge (squash) June 10, 2021 16:50
@conniey conniey disabled auto-merge June 10, 2021 17:02
@conniey conniey enabled auto-merge (squash) June 10, 2021 17:17
@conniey conniey merged commit cfc40f8 into master Jun 10, 2021
@conniey conniey deleted the conniey/close-executor branch June 10, 2021 17:46
conniey added a commit to conniey/azure-sdk-for-java that referenced this pull request Jun 10, 2021
* When IO sink is disposed of, close the corresponding executor.

* Update ReactorExecutor to use AsyncCloseable.

* Removing unused method.

* Add changelog entry.
conniey added a commit that referenced this pull request Jun 10, 2021
* Fix Management Bug (#22122)

* Adding missing return statement.

* Using common logic for status codes.

* Adding isSuccessful.

* Closing reactor executor when IO pipe is closed. (#22192)

* When IO sink is disposed of, close the corresponding executor.

* Update ReactorExecutor to use AsyncCloseable.

* Removing unused method.

* Add changelog entry.

* Fix Azure Core Amqp Sample issue #18806 by lihong 202105271344 (#21885)

* Running prepare-release script.

Co-authored-by: Hong Li(MSFT) <74638143+hongli750210@users.noreply.github.com>
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.

3 participants