Skip to content

[ML] Failure persisting datafeed timing stats leaves datafeed in limbo #49032

Closed
@droberts195

Description

@droberts195

Since 7.4.0 when a datafeed is stopped it tries to persist datafeed timing stats. However, this is done in the finally block in DatafeedManager.stop(), and if it fails for some reason then the datafeed is not fully stopped. It remains permanently in the stopping state, and due to #48931 there is currently no way to stop a datafeed that is stuck in the stopping state.

Failure to persist datafeed timing stats for some reason should be logged as a warning but should not prevent more critical datafeed shutdown actions from being attempted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :mlMachine learning>bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions