Do not delete file at high priority thread pool#13836
Conversation
|
@ajkr @riversand963 @pdillinger @cbi42 Can you maintainers give me some advice on whether this is reasonable? If not, I will not fix the tests. |
|
You could mostly bypass the problem by using I agree at least that the API is difficult. Ingestion-heavy use cases (especially ones that set |
This is not a discussion of how to implement it, but a discussion of whether the idea is correct. Whether it is the default behavior or adjusted through parameters is another question. |
There seems to be a misunderstanding. |
Running both Flush and Purge operations in the HIGH Priority thread pool poses a risk. Compared to Purge, if Flush becomes slow, it can lead to Write Stop, which is an extremely severe issue. Therefore, Purge operations must use the LOW Priority thread pool.