Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Currently, UnderReplicatedProcessor and OverReplicatedProcessor are scheduled as BackgroundSCMService threads in StorageContainerManager. These processors directly depend on RM and should be managed by RM. This Jira moves their initialisation to the ReplicationManager class.
Under and Over Replicated processors don't check whether they should continue running when processing their queues. This is a potential bug - they won't get interrupted when looping through a very large number of containers. This is fixed by including a check for ReplicationManager#shouldRun() inside the loop.
Attachments
Issue Links
- links to