Ottomata added a comment.

> Hm, I think duplicates should be detected based on the content of the message 
> itself and the time stamp.


EventLogging explicitly uses the uuid in MySQL as a unique key for all tables.  
Having it standardized on a single field means that the unique index creation 
is standard for all events.  This keeps duplicate events from ever being 
inserted into a single table.

MySQL unique indexes aren't really a consideration here, and I'd be fine if we 
could define a unique index across multiple keys, but I'd want those keys to be 
standardized in the framing of all events.  A `uuid` like EventLogging does 
would be an easy way to do this.


TASK DETAIL
  https://phabricator.wikimedia.org/T116247

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ottomata
Cc: EBernhardson, Smalyshev, yuvipanda, Hardikj, daniel, aaron, GWicke, 
mobrovac, MZMcBride, bd808, JanZerebecki, Halfak, Krenair, brion, chasemp, 
Eevans, mmodell, Ottomata, Mattflaschen, Matanya, Aklapper, JAllemandou, 
jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, RobLa-WMF, jeremyb



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to