Atri Sharma created IGNITE-15043:
------------------------------------
Summary: FifoQueueCollisionSPI Should Be Thread Safe
Key: IGNITE-15043
URL: https://issues.apache.org/jira/browse/IGNITE-15043
Project: Ignite
Issue Type: Bug
Reporter: Atri Sharma
Today, if there is a single slot available in the active jobs limit and N tasks
come concurrently, there is a chance that many (or all) of them will be able to
proceed because the logic of FifoQueueCollisionSPI is as follows:
1. Get active tasks count
2. Compare to max tasks count
3. If less, start the task
This is not thread safe, and we need to provide a realistic view of active
tasks count to all threads.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)