Async backend not properly flushed

Description

When calling IndexManager#flushAndReleaseResources on a index manager configured with the async worker, it closes the IndexWriter and does not apply the pending work causing exceptions.

Environment

None

Assignee

Gustavo Fernandes

Reporter

Gustavo Fernandes

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure