Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing ingestion consumption check avoiding race condition. (linked…
…in#635) Previously, when OFFLINE => DROP transition happen, we will check if we can remove the partition from disk only based on partition consumption state exist or not. However, it is also possible that there are some pending state transitions in consume action queue of the StoreIngestionTask. If we drop the partition and there is a pending SUBSCRIBE action in consumption queue, then it will cause data persistence failure due to partition not existed in disk. To avoid this, we add pending queue checking for the partition about to be deleted during the partition consumption check. Co-authored-by: Hao Xu <[email protected]>
- Loading branch information