Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, Wikibase-Quality-Constraints, Wikibase-Quality.

TASK DESCRIPTION

This was split off from T179849: Cache all constraint check results per-entity: for now, we’ll start out with caching the results in memcached. That will already require us to solve the problem of invalidation, and migrating to the database for T180582: List of all constraint violations (see this comment) can then be done in the future. (Probably not by actually moving results from memcached to the database but just by starting to write to and read from the database instead.)

Preliminary breakdown:

  • extract result formatting (CheckResult → JSON) out of the CheckConstraints API class, because the API probably shouldn’t know about caching
  • track entities that should be considered when checking whether a cache result is still valid (checkers for inverse, symmetric and target requires claim add the target entity, current entity is implicitly added)
  • store result and tracked entities in object cache
  • read result from object cache and check whether it’s still fresh

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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Jonas, Lucas_Werkmeister_WMDE, Lahi, Gq86, GoranSMilovanovic, QZanden, Agabi10, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to