Smalyshev added a subscriber: Smalyshev.
Smalyshev added a comment.

There's another peculiar problem here. The API 
<http://en.wikipedia.org/w/api.php?action=help&modules=query%2Brecentchanges> 
is driven by timestamps, however several changes can have the same timestamp. 
Moreover, it can happen that if changes a, b and c have the same timestamp, 
we've read a and b but not c. Since we now use last timestamp in the query, 
next time we'll get a, b and c - and since we've seen b last we'll skip it but 
we won't skip a and c. Next time, we'll skip c (since it was last) but not a 
and b - meaning, we'll be stuck on fetching a, b, c and trying to apply a and b 
for a while until any new change comes in. This doesn't look like right thing - 
we should be able to tell the exact change we've seen last and ask the API 
"give me everything after that". Timestamps are very bad IDs for such things, 
we should use change IDs instead. If Wiki doesn't have the API for that we 
should add such API.


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

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: Smalyshev
Cc: Smalyshev, Aklapper, Manybubbles, jkroll, Wikidata-bugs, Jdouglas, aude, 
GWicke, daniel, JanZerebecki



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to