lucene-solr icon indicating copy to clipboard operation
lucene-solr copied to clipboard

Cleanup DWPT state handling

Open s1monw opened this issue 4 years ago • 2 comments

DWPT currently has no real notion of a state but it's lifecycle really requires such a notion. We move DWPTs from active to flush pending to flushing and execute certain actions like RAM accounting based on these states. To simplify the transitions and the concurrency involved in it, it makes sense to formalize the transitions and if it can happen under lock or not.

s1monw avatar Sep 28 '20 08:09 s1monw

@mikemccand can you take a look at this?

s1monw avatar Sep 28 '20 08:09 s1monw

this is a followup from https://github.com/apache/lucene-solr/pull/1918

s1monw avatar Sep 28 '20 08:09 s1monw