I'm playing with stackoverflow's data dump and found something unexpected.
After writing all questions (among with their answers) tagged with Java into mongodb, I did a little sanity check and found out there were 45 questions without enough answers, i.e., the answer count written into the database is less than the real count.
So I went to some of the question pages and found that obviously some answers were written before the questions were posted. My code had an underlying assumption that questions came first. Thus the problem.
Take this question as an example, the question was asked on Jan 20 '09 at 20:17 but there were several answers (like this one) written on Sep 12 '08.
The thing is according to Wikipedia,
On 15 September 2008 it was announced the public beta version was in session and that the general public was now able to use it to seek assistance on programming related issues.
So these answers were probably not written on Sep 12 '08.
Also see this question. It's the latest one with the problem. The question was asked on Mar 22 '11 but one answered was posted on Mar.18 '11.
There must have been a bug (that probably has been fixed), but what bug? And... the real answer dates can't be recovered anymore?
EDIT: Thanks everyone. My reasoning has failed. There is no bug. It was just questions getting merged...
But... Now... Why not use the earlier date of the two in the end?
Post Merged (destination) from stackoverflow.com/questions/57102/embedded-java-databases