Closed (fixed)
Project:
Revision Manager
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Aug 2025 at 14:07 UTC
Updated:
9 Sep 2025 at 19:59 UTC
Jump to comment: Most recent
The revision_manager module has a race condition in QueueGenerator::enqueueIfUnique()
method. Multiple processes (cron runs, batch operations, manual triggers) can
simultaneously attempt to queue the same entity for revision cleanup, causing:
Add exception handling to gracefully handle the duplicate key scenario:
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
j-barnes commentedAdded exception handling to
QueueGenerator::enqueueIfUnique()to gracefully handle when multiple processes attempt to queue the same entity for revision cleanup simultaneously.Comment #4
sunny-lee commentedTested general functionality of revisions and still working as expected. Added taxonomy terms, nodes, media in queue for revisions and did not see any errors so looks good here.
Comment #6
j-barnes commentedThanks for testing!
Comment #7
j-barnes commented