Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 32730200B8B for ; Tue, 4 Oct 2016 10:38:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3107B160AC9; Tue, 4 Oct 2016 08:38:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9BBBC160AC5 for ; Tue, 4 Oct 2016 10:38:21 +0200 (CEST) Received: (qmail 72412 invoked by uid 500); 4 Oct 2016 08:38:20 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 72391 invoked by uid 99); 4 Oct 2016 08:38:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 08:38:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9754F2C0032 for ; Tue, 4 Oct 2016 08:38:20 +0000 (UTC) Date: Tue, 4 Oct 2016 08:38:20 +0000 (UTC) From: "Jing Chen (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AURORA-655) Order job update events and instance events by ID rather than timestamp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 04 Oct 2016 08:38:22 -0000 [ https://issues.apache.org/jira/browse/AURORA-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15544740#comment-15544740 ] Jing Chen commented on AURORA-655: ---------------------------------- And there is instance update events, should we sort them by id as well? > Order job update events and instance events by ID rather than timestamp > ----------------------------------------------------------------------- > > Key: AURORA-655 > URL: https://issues.apache.org/jira/browse/AURORA-655 > Project: Aurora > Issue Type: Story > Components: Scheduler > Reporter: Bill Farner > Assignee: Jing Chen > Priority: Trivial > Labels: newbie > > In {{JobUpdateDetailsMapper.xml}} we order by timestamps, which could be brittle if the system time changes. Instead of using the timestamp, use the built-in database {{IDENTITY}} for sort order. -- This message was sent by Atlassian JIRA (v6.3.4#6332)