aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jco...@apache.org
Subject aurora git commit: Order job update events and instance events by ID rather than timestamp
Date Tue, 04 Oct 2016 14:15:29 GMT
Repository: aurora
Updated Branches:
  refs/heads/master ed72b1bf6 -> 249245db0


Order job update events and instance events by ID rather than timestamp

Bugs closed: AURORA-655

Reviewed at https://reviews.apache.org/r/52508/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/249245db
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/249245db
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/249245db

Branch: refs/heads/master
Commit: 249245db06d266d0f475147b167497ad1bb91a06
Parents: ed72b1b
Author: Jing Chen <milantracy@gmail.com>
Authored: Tue Oct 4 09:14:55 2016 -0500
Committer: Joshua Cohen <jcohen@apache.org>
Committed: Tue Oct 4 09:14:55 2016 -0500

----------------------------------------------------------------------
 .../aurora/scheduler/storage/db/JobUpdateDetailsMapper.xml       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/249245db/src/main/resources/org/apache/aurora/scheduler/storage/db/JobUpdateDetailsMapper.xml
----------------------------------------------------------------------
diff --git a/src/main/resources/org/apache/aurora/scheduler/storage/db/JobUpdateDetailsMapper.xml
b/src/main/resources/org/apache/aurora/scheduler/storage/db/JobUpdateDetailsMapper.xml
index d91c650..f56ad67 100644
--- a/src/main/resources/org/apache/aurora/scheduler/storage/db/JobUpdateDetailsMapper.xml
+++ b/src/main/resources/org/apache/aurora/scheduler/storage/db/JobUpdateDetailsMapper.xml
@@ -500,7 +500,7 @@
       message
     FROM job_update_events as e
     WHERE update_row_id = #{id}
-    ORDER BY e.timestamp_ms
+    ORDER BY e.id
   </select>
 
   <select id="selectInstanceEvents" resultMap="jobInstanceUpdateMap">
@@ -511,7 +511,7 @@
       action
     FROM job_instance_update_events as e
     WHERE update_row_id = #{id}
-    ORDER BY e.timestamp_ms
+    ORDER BY e.id
   </select>
 
   <select id="selectJobUpdateMetadata" resultMap="metadataMap">


Mime
View raw message