Is removing the id from the query's sorting really the right solution? There seem to be multiple queries that suffer from the same problem (though maybe they're all generated by the same single piece of Python code) and you're giving up some determinacy that could possibly break tests sometimes.
I would suggest indexing Bug(datecreated, id) instead, as per bug 518965.
Is removing the id from the query's sorting really the right solution? There seem to be multiple queries that suffer from the same problem (though maybe they're all generated by the same single piece of Python code) and you're giving up some determinacy that could possibly break tests sometimes.
I would suggest indexing Bug(datecreated, id) instead, as per bug 518965.