Skip to content

DJM invokes shutdown listeners only sequentially #71

@KazankovMarch

Description

@KazankovMarch

Example:

  • SomeJob has many work-items
  • SomeJob has WorkPoolRunningStrategy "Thread per work-item"
  • during its shutdown listener invocation SomeJob waits for closing someResource with long timeout
  • someResource has been broken - it can't be closed gracefully
  • After rebalance worker tries to shutdown execution of SomeJob

It produce very long freeze because DJM shutdowns SomeJob executions sequentially and waits long timeout of closing someResource one time per work-item

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions