Some Items are at the size limit that we defined in configuration. Based on the exceptions we're seeing, this started ca. August 2022:
(source) (The fact that these exceptions are showing up in our logs is an additional, but separate problem. See T320945)
Metrics on Entity Size: https://grafana.wikimedia.org/d/000000167/wikidata-datamodel?orgId=1&refresh=30m&viewPanel=2&from=now-1y&to=now
This is causing a bunch of problems:
- user report of not able to merge some Items (see also T314763: Merging Wikidata items triggers EntityContentTooBigException)
- T320540 (security task)
- not being able to add statements to some Items:
Notes:
- The size limit was previously increased for T217739: Set maxSerializedEntitySize to 3000
- There are different sizes calculated for Items/Entities in different places
- that means that the size shown in the Edit History is different from the size used when checking for whether to allow an edit
- see also T41189: implement meaningful notion of size for items