主权项 |
1. A method, comprising:
receiving, by a processing device, a request for an operation to be executed on a resource among a plurality of resources; detecting, by the processing device, an occurrence of a conflict between the operation and a queued operation among a plurality of queued operations associated with the resource among the plurality of resources, the plurality of queued operations maintained in a task queue, wherein the detecting comprises matching the resource for the operation with the resource for the queued operation and determining that the queued operation is currently being executed on the resource for the operation, wherein the conflict occurs in response to the operation comprising updating of the matched resource; generating, by the processing device, a first task for the operation in view of the conflict; placing, by the processing device, the first task in the task queue for postponement of execution of the first task for the operation; identifying, by the processing device, a task dependency associated with the first task for the operation, wherein the task dependency comprises a second task to be executed prior to execution of the first task for the operation, wherein the second task is different from the first task; and executing, by the processing device, the first task for the operation after execution of the task dependency. |