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

Use single sequence for task and job ids of different schema versions #5853

Open
klopfdreh opened this issue Jun 27, 2024 · 4 comments
Open
Milestone

Comments

@klopfdreh
Copy link
Contributor

Problem description:
We currently have ~250k job executions and when we migrate to Spring Boot 3 and Spring Batch 5 the ids are starting from one. Because of this we have problems finding the right page to look at:

image

Also the CTR and task applications are running in different schema versions, so different sequences are used and the ids are divergent.

Solution description:
Use a single sequence for boot 2 and boot 3 schemas so that the ids are increasing no matter what kind of task application has started.

Description of alternatives:
Implement a filter to narrow down the view to only show Boot2 / Boot3 Task and Job executions

Additional context:
N/A

@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label Jun 27, 2024
@cppwfs cppwfs added for/team-attention For team attention and removed status/need-triage Team needs to triage and take a first look labels Jul 1, 2024
@klopfdreh
Copy link
Contributor Author

This issue is the only one which prevents us from upgrading to Spring Boot 3 applications, as we don't have the time to navigate through all pages to see the task / job execution outcome.

If it is not an option to change the schema of the database as it is the same for Spring Batch 5 / Spring Batch 4 - I would suggest to implement the alternative solution to narrow down the view.

@cppwfs cppwfs added this to the 2.11.5 milestone Jul 3, 2024
@cppwfs cppwfs removed the for/team-attention For team attention label Jul 3, 2024
@cppwfs
Copy link
Contributor

cppwfs commented Jul 3, 2024

We add search criteria that will implement the alternative solution you suggested for the 2.11.5 release.
Thanks for opening the issue.

@klopfdreh
Copy link
Contributor Author

Hey @cppwfs - thanks a lot for the information - if I can contribute in any way please let me know! 👍

@klopfdreh
Copy link
Contributor Author

@cppwfs - do you want me to contribute the ui part of this feature?

@cppwfs cppwfs modified the milestones: 2.11.5, 2.11.x Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants