This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b6ac9895-d650-4fa1-8706-e658423d2662 XWIKI-23249 Open

Allow controlling scheduler jobs from disabled cluster nodes

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-5bfabc1a-dab0-4a89-a778-fc2b5503df27 Thomas Mortagne created this issue on 26/May/25 17:04
 
Summary: Allow controlling scheduler jobs from disabled cluster nodes
Issue Type: cid:jira-generated-image-avatar-b6ac9895-d650-4fa1-8706-e658423d2662 Improvement
Affects Versions: 17.4.0
Assignee: Unassigned
Components: Scheduler
Created: 26/May/25 17:04
Priority: cid:jira-generated-image-static-major-70610ce8-c500-465d-bda1-2199fc312c5b Major
Reporter: Thomas Mortagne
Description:

Since XWIKI-22855, the recommendation in the case of a clustering is to disable the Scheduler on all instances but one, and you then cannot do much in the disabled instances.

It would be interesting to refactor a bit how the scheduler in working to allow all nodes to control jobs, even if the scheduler is disabled for them. It mainly means relying on serializable events instead of direct calls (that way, the main instance can pick those events and interpret them wherever they are coming from).

Now, this might also be the occasion to introduce a whole new module/API to replace the old plugin which we'll have to get rid of eventually (like any plugin).

 
 

1 update

 
cid:jira-generated-image-avatar-5bfabc1a-dab0-4a89-a778-fc2b5503df27 Changes by Thomas Mortagne on 26/May/25 17:05
 
Labels: cluster