[9.0] Change the sort order of background jobs to be DESC instead of ASC #24196

Merged
merged 1 commit into from Apr 22, 2016

Projects

None yet

5 participants

@nickvergessen nickvergessen Change the sort order of background jobs to be DESC instead of ASC
In theory, if your instance ever creates more jobs then your system cron can
handle, the default background jobs get never executed anymore. Because
everytime when the joblist returns the next job it looks for the next ID,
however there is always a new next ID, so it will never wrap back to execute
the low IDs. But when we change the sort order to be DESC, we make sure that
these low IDs are always executed, before the system jumps back up to
execute the new IDs.
3e1dc64
@mention-bot

By analyzing the blame information on this pull request, we identified @icewind1991, @DeepDiver1975 and @Xenopathic to be potential reviewers

@PVince81
Collaborator

👍

@rullzer
Contributor
rullzer commented Apr 22, 2016

👍

@DeepDiver1975 DeepDiver1975 merged commit 57b9ae1 into stable9 Apr 22, 2016

11 checks passed

cla-bot-core Build #3416 succeeded in 15 sec
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
core-ci-linux-jsunit/database=sqlite,label=SLAVE Build #61144 succeeded in 49 sec
Details
core-ci-linux-swift-primary-storage/database=mysql,label=SLAVE Build #55260 succeeded in 22 min
Details
ocs-api-integration-tests-ci Build #9964 succeeded in 15 min
Details
server-master-linux-externals-ci/database=sqlite,external=smb-silvershell,label=SLAVE Build #9610 succeeded in 10 min
Details
server-master-linux-externals-ci/database=sqlite,external=swift-ceph,label=SLAVE Build #9610 succeeded in 13 min
Details
server-master-linux-externals-ci/database=sqlite,external=webdav-ownCloud,label=SLAVE Build #9610 succeeded in 13 min
Details
server-master-linux-externals-smb-windows-ext-ci/database=sqlite,external=smb-windows,label=master Build #12313 succeeded in 2 min 40 sec
Details
server-master-linux-php5.4-ci/database=sqlite,label=SLAVE Build #2657 succeeded in 7 min 36 sec
Details
server-master-linux-php7-ci/database=sqlite,label=SLAVE Build #37961 succeeded in 6 min 32 sec
Details
@DeepDiver1975 DeepDiver1975 deleted the backport-24183-change-background-job-sort-order branch Apr 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment