Skip to content
Snippets Groups Projects

Fix stale read on TranscriptionEntity corpus check

Merged Erwan Rouchet requested to merge stale-read-ts-entity into master

Closes #1384 (closed)

This does not add any new .using('default'), because this resolves the stale read by removing the offending queries. The query to retrieve the transcription's element now uses a select_related on a query that already uses .using('default'), and the two queries to retrieve the transcription's element's corpus and the entity's corpus have been removed because we can just compare by corpus_id.

Merge request reports

Checking pipeline status.

Merged by Bastien AbadieBastien Abadie 2 years ago (Nov 25, 2022 4:49pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading