Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SchedulerRepostory prevents connections to multiple cluster nodes #388

Open
NathanBaulch opened this issue Aug 3, 2016 · 1 comment
Open
Milestone

Comments

@NathanBaulch
Copy link
Contributor

Indexing by SchedulerName instead of SchedulerId in SchedulerRepostory makes it difficult to connect to multiple nodes in a cluster. I have to maintain my own repository and make sure I call SchedulerRepostory.Remove after connecting to each node (GetScheduler on a StdSchedulerFactory with proxy enabled), otherwise the same RemoteScheduler instance is returned no matter what specific node I'm trying to reach.

I need this to support interruption in my Quartz cluster. Each node configures their quartz.scheduler.instanceId with their exported remoting host:port, so I can figure out how to reach each running job using the QRTZ_FIRED_TRIGGERS:INSTANCE_NAME field. This will also allow me to query nodes for job execution progress/results and fetch scheduler metadata.

@lahma lahma added this to the 3.0 milestone Aug 4, 2016
@lahma
Copy link
Member

lahma commented Aug 4, 2016

Let's see if we can address this in v3 roadmap.

@lahma lahma modified the milestones: 3.0, vNext Dec 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants