You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There have been a few cases where scores are being entered while the final computed scores report is run. Due to how the database needs to store data and then read parts back this can cause a report to be inconsistent with itself, showing a team with a high performance scores, but still a low rank.
The text was updated successfully, but these errors were encountered:
I created a web servlet that displays the max performance score for all teams, sleeps for 10 seconds and then repeats for 5 times.
While that page as generating I inserted a new high score for a team.
With the default locking the changed score was seen.
When creating a transaction the changed score was still seen.
However when setting the transaction isolation level to repeatable read, then the changed score was not seen.
This suggests that I could have the final computed scores report be something like this:
get connection
set transaction isolation level to repeatable read
turn off auto commit
execute summarize scores using this connection
generate the report with this transaction
commit the transaction
render the PDF
However I don't know what this would to performance.
Executing the score summarization automatically for any report might be a good idea though.
There have been a few cases where scores are being entered while the final computed scores report is run. Due to how the database needs to store data and then read parts back this can cause a report to be inconsistent with itself, showing a team with a high performance scores, but still a low rank.
The text was updated successfully, but these errors were encountered: