Details
Details
Assignee
Unassigned
UnassignedReporter
redsummernight
redsummernightRoadmap
Bookmarks
Pseuds
Search
Works
Priority
Affects versions
Components
BackEnd
Difficulty
Medium
Milestone
Internal 0.9
Sentry
Sentry
Created April 29, 2020 at 9:47 PM
Updated February 19, 2025 at 10:54 PM
Now that the PR for has added the gem
after_commit_everywhere
, we can reduce the number of stale data issues in Resque by having IndexQueue always queue items for reindexing after commit, to ensure that Resque won't be trying to look up information from the database before it's been committed.In cases where the existing reindex callbacks don't need to check what changes were made to a record (e.g. via
saved_change_to_x?
andprevious_changes
, etc.) we can also change the callbacks fromafter_update
toafter_commit
.Similar to AO3-5940, which addresses the same issue for mailers.
How to test: TBD.