On Dec 17, 2013, at 12:00 AM, Dan Andreescu dandreescu@wikimedia.org wrote:
On Mon, Dec 16, 2013 at 8:38 PM, Dario Taraborelli dtaraborelli@wikimedia.org wrote: yes, uuid is expected to be unique (Ori, any reason why we are not enforcing a unique key on uuid in the log db?)
Hm, I think a unique index would slow inserts down quite a bit. And I agree it could've caught this problem earlier but this seems like a job for more unit tests / integration tests than change in design.
right, makes sense.