-
Notifications
You must be signed in to change notification settings - Fork 108
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
Avoid Sync message overflow (#3389) #3393
Avoid Sync message overflow (#3389) #3393
Conversation
PBENCH-1120 A SQL error was observed in deployment where `pbench-index` logged an error on the `INDEX` sync object because a tarball was somehow not present. The message string generated by `indexing_tarballs.py` exceeded the `VARCHAR(255)` column specification. This isn't an attempt to address the root problem, but to address the symptom of overloading the operation table message column in the future so at least errors are properly recorded. This reworks some of the `indexing_tarballs.py` messages to avoid redundancy (e.g., naming the dataset or tarball isn't necessary as the records are linked to the `Dataset`), but also removes the limit on the message column as a precaution.
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.
👍
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.
👍
Yikes; OK, two generations back were OIDC changes not on the branch. Third time the charm? (Bets?) |
It appears to be turtles most of the way down ...
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.
🍀
PBENCH-1120
Cherry-pick to b0.72.
A SQL error was observed in deployment where
pbench-index
logged an error on theINDEX
sync object because a tarball was somehow not present. The message string generated byindexing_tarballs.py
exceeded theVARCHAR(255)
column specification.This isn't an attempt to address the root problem, but to address the symptom of overloading the operation table message column in the future so at least errors are properly recorded.
This reworks some of the
indexing_tarballs.py
messages to avoid redundancy (e.g., naming the dataset or tarball isn't necessary as the records are linked to theDataset
), but also removes the limit on the message column as a precaution.