Skip to content

Conversation

@cwperks
Copy link
Member

@cwperks cwperks commented Sep 17, 2025

Description

This PR removes some logic that removes a lock directly from the Job Scheduler Lock index. Job Scheduler has a mechanism to expire locks if they've been acquired for too long and keeps lock entries for scheduled jobs if the job is disabled. If a plugin removes job metadata from a job index then the corresponding lock is also deleted by job-scheduler automatically.

This work should be delegated to Job Scheduler and should not live in another plugin's repo.

This PR contains a jarHell fix with companion PR: https://github.com/opensearch-project/security-analytics-commons/pull/27

^ Looks like that is currently a private repo so the link may not resolve

Related Issues

Resolves opensearch-project/job-scheduler#714 (comment)

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@cwperks
Copy link
Member Author

cwperks commented Sep 19, 2025

Raised opensearch-project/job-scheduler#833 to fix dep injection issue.

@cwperks
Copy link
Member Author

cwperks commented Sep 19, 2025

Merging this as its fixing a breaking change. Without this fix, SAP repo does not compile.

@cwperks cwperks merged commit 0aefad9 into opensearch-project:main Sep 19, 2025
22 of 32 checks passed
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

Successfully merging this pull request may close these issues.

2 participants