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

Job can not be purged when using the Java batch In-Memory Persistence #27715

Closed
Arunkumar-Kallyodan opened this issue Feb 22, 2024 · 1 comment
Assignees
Labels
release bug This bug is present in a released version of Open Liberty release:24003

Comments

@Arunkumar-Kallyodan
Copy link
Contributor

Describe the bug
When using memory persistence with java batch, jobs cannot be removed from the in-memory repository

Steps to Reproduce
Define a batch server with no batchPersistence defined so that it uses in-memory . Submit a jon and purge the job with the REST interface or batch Manager. A 500 error will occur and the job will not be removed from the in-memory repository. But the job logs will be deleted.

Expected behavior
When using the purge using the REST interface or batchManager, the job should be removed from the backing repository either using in-memory or database

Additional context
The limitation of using memory persistence is that if the server is stopped then the persistence is lost. However , a user should still be able to remove the data from the in-memory repository with a purge after this fix

@Arunkumar-Kallyodan Arunkumar-Kallyodan added the release bug This bug is present in a released version of Open Liberty label Feb 22, 2024
@LifeIsGood524
Copy link

LifeIsGood524 commented Mar 6, 2024

The PR is merged and is in a release build. Can this issue be closed? @dmbelina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty release:24003
Projects
None yet
Development

No branches or pull requests

5 participants