D14684: [DO NOT MERGE YET] Fix duplicate sequence jobs completion checks.
Wolfgang Reissenberger
noreply at phabricator.kde.org
Fri Aug 10 13:19:17 BST 2018
wreissenberger added a comment.
Not sure whether the problem still exists after your changes, but I found a situation where the scheduler loops endlessly.
If you have two jobs with the same capture file signature (path + filter etc.) and the **second** has **less** repeats than the first, the first job will repeat endlessly.
The problem is that Scheduler::updateCompletedJobsCount() overwrites the map entry such that a later evaluation thinks that it has less captures than requested.
Please find included a test illustrating it. Place it under /tmp/kstars_tests
-Wolfgang
REPOSITORY
R321 KStars
REVISION DETAIL
https://phabricator.kde.org/D14684
To: TallFurryMan, mutlaqja, wreissenberger
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180810/05d4e58d/attachment.html>
More information about the kde-edu
mailing list