Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Scheduled Tasks (scheduler) should only operate on a single host #151

Open
aclavio opened this issue Mar 16, 2021 · 1 comment
Open

Scheduled Tasks (scheduler) should only operate on a single host #151

aclavio opened this issue Mar 16, 2021 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@aclavio
Copy link
Contributor

aclavio commented Mar 16, 2021

The Scheduled Tasks included with the State Conductor (schedules.sjs, and waitTask.sjs) don't utilize a host setting. This causes these tasks to be executed on all hosts of a cluster at the scheduled times. This is problematic for scheduled State Conductor scoped state machines and wait tasks. These tasks should only operate on a single host in the cluster.

see: https://github.com/marklogic-community/ml-app-deployer/wiki/Scheduled-Tasks

@aclavio aclavio added the bug Something isn't working label Mar 16, 2021
@aclavio aclavio added this to the 1.0.1 milestone Mar 16, 2021
@aclavio aclavio modified the milestones: 1.0.1, 1.1.0, 1.2.0 May 10, 2021
@aclavio aclavio modified the milestones: 1.2.0, 1.3.0 Jul 8, 2021
@aclavio
Copy link
Contributor Author

aclavio commented Aug 16, 2021

The waitTask has been refactored in #179 to operate only on the local forests of a host, and thus optimized for, and intended to run on all hosts of a cluster.

As such, this task issue should only apply to the scheduler task.

@aclavio aclavio changed the title Scheduled Tasks (scheduler and waitTask) should only operate on a single host Scheduled Tasks (scheduler) should only operate on a single host Aug 16, 2021
@aclavio aclavio added the good first issue Good for newcomers label Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant