Carsten Ziegeler created SLING-2906:
---------------------------------------

             Summary: Queue might be outdated and closed while still processing
                 Key: SLING-2906
                 URL: https://issues.apache.org/jira/browse/SLING-2906
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: Extensions Event 3.1.4
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Extensions Event 3.2.0


Though this might rarely happen, there is a potential that a queue gets 
outdated and closed although it's still processing:
There is a little time window, once the last job is taken from the queue until 
the processing starts - during this window, the queue is empty and the list of 
jobs in processing is empty as well. If the call for marking the queue arrives 
during exactly this window, the queue will be outdated. Now if the next call to 
close the queue arrives in a similar window, the queue will be closed although 
there are still jobs in processing

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to