Main components:
- Wikibase Repo
Problem:
Due to replication lag, or writes happening after requests finish there are situations in which multiple edits made in the same second can end up creating duplicate sitelinks
(see examples in the comments)
Suggested solution:
Idea for a approach is discussed in T44325#6976484 & T44325#6981283 which involves another lock for these sitelinks when being added before the secondary store gets updated.
Steps to reproduce:
See comment from Lucas (T44325#7355099).
Acceptance criteria:
- implement suggested solution so that multiple edits cannot create duplicate sitelinks anymore (even if made in the same second)