From 1b0505a3bc6aa012a3af41e5faafe2fc2cfe265a Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 30 Nov 2015 09:42:06 +0100 Subject: [PATCH] Always select queue rows in the same order --- .../main/resources/org/sonar/db/ce/CeQueueMapper.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sonar-db/src/main/resources/org/sonar/db/ce/CeQueueMapper.xml b/sonar-db/src/main/resources/org/sonar/db/ce/CeQueueMapper.xml index 42b26d303c9..f43a9e9b30c 100644 --- a/sonar-db/src/main/resources/org/sonar/db/ce/CeQueueMapper.xml +++ b/sonar-db/src/main/resources/org/sonar/db/ce/CeQueueMapper.xml @@ -14,6 +14,10 @@ cq.updated_at as updatedAt + + order by cq.created_at asc, cq.id asc + + -- 2.39.5