You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes there is a necessity to process group of tasks in sequence.
Ex. consumer puts task1 and then task2 into group1 . xqueue must gurantee for consumers that task2 never be given for consumers until task1 is processed correctly.
Task is processed correctly only if it was acknowledged (removed from space, moved to Done state, or temporary left as zombie).
Request for comments:
Space for xqueue must have field order which will be used by xqueue for ordering tasks inside each group.
Introduce new status L (for Locked) which assigns to each task when producer puts it into existing group.
Implement transitions of status L -> R for method :ack.
If task put with delay into existing group, it must be delayed from the last task in the group.
If taken task released by consumer with delay back inside group, then all tasks of the group must be proper delayed.
If task is buried then neither other task from the group should be processed
The text was updated successfully, but these errors were encountered:
Sometimes there is a necessity to process group of tasks in sequence.
Ex. consumer puts
task1
and thentask2
intogroup1
.xqueue
must gurantee for consumers thattask2
never be given for consumers untiltask1
is processed correctly.Task is processed correctly only if it was acknowledged (removed from space, moved to Done state, or temporary left as zombie).
Request for comments:
xqueue
must have fieldorder
which will be used byxqueue
for ordering tasks inside each group.L
(forLocked
) which assigns to each task when producer puts it into existing group.:ack
.The text was updated successfully, but these errors were encountered: