Issue 1443: Old comment is shown as latest in the review page
Reported by david.pu...@gmail.com, Jun 15, 2012
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version: 2.4-356-g70968dd

What steps will reproduce the problem?

On this review page:
https://gerrit-review.googlesource.com/#/c/30811/

A comment from January 13 is shown as the latest comment, despite there being several more comments later.   The same comment from Jan 13 is also shown earlier in the list.

See attached screenshot.


What is the expected output? What do you see instead?


Please provide any additional information below.

comment_wrong_order.png
11.1 KB   View   Download
Jun 15, 2012
#1 sop@google.com
I am pretty sure this is unique to our database. Gerrit relies on the database to order these comments by date and it seems there are duplicates in the secondary index it scans, or something else going on here.
Status: Accepted
Owner: sop@google.com
Labels: Environment-Google