thiemowmde created this task.
thiemowmde added a subscriber: thiemowmde.
thiemowmde added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  The ChangePruner test (ChangePruner was recently factored out of the 
pruneChanges maintenance script and covered with tests) fails in my local 
environment. Instead of the expected
  ```
  1 rows pruned
  1 rows pruned
  0 rows pruned
  ```
  it returns
  ```
  2 rows pruned.
  0 rows pruned.
  ```
  Reason is the way it decides which rows belong to a batch. The WHERE clause 
neither uses LIMIT nor the primary key but the timestamp. The timestamp is only 
precise to the second. If changes happen in the same second they will either 
all end up in the same batch or a batch will be empty (ending the execution of 
the script to early).

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

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

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

To: thiemowmde
Cc: thiemowmde, Aklapper, Wikidata-bugs, aude



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

Reply via email to