-
Notifications
You must be signed in to change notification settings - Fork 24
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
Vx followup #6732
Vx followup #6732
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scala Backend mostly LGTM. I added a few comments.
I did not dive deeply into the very complex SQL queries. If you think they should be reviewed in detail, maybe we could schedule a call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm mostly 👍 only left some comments regarding how the progress is calculated and represented. ignore my comments if you think, the current way makes more sense. I didn't use the new reports heavily yet, so I can only comment coming from an outside perspective.
@daniel-wer what do you think about @philippotto's comments? I think you have spent the most time with the reports so far. |
In my opinion, the main thing that is interesting to me when looking at a report with a currently running task is:
In the workflow list, the progress bar is chunked with different colors. Couldn't the progress bar for a running task also show this distinction? Always show the overall number of chunks as the total, then color the skipped ones gray, the finished ones blue or green and the failed ones red. When looking at the statistics tab, I'd like to see the aggregated stats for all completed chunks. |
should "remaining" include failed and cancelled chunks?
Should that include running and failed chunks? |
I don't know the distinction between failed and canceled chunks, but think it should contain neither of them. Otherwise, they would be counted twice (once as failed/cancelled and once as remaining) which could be confusing, I think.
Yes, I would say so. Every bit of information is helpful, especially the RAM consumption of the failed chunks. For the run times it's not that important, but in the end every chunk should only be counted once (even if it failed once and then succeeded in a following run). |
I now solved the performance issue by restructuring the database: |
@normanrz that sounds fair to me. If the app image is rolled back after we notice that something is wrong, the old tables are filled again by the old code. Will that be okay / create an acceptable state? If so, fine by me. Also, I’d ask you to add a follow-up issue to drop the unused tables in another evolution after a grace period |
Steps to test:
(Please delete unneeded items, merge only when none are left open)