-
Notifications
You must be signed in to change notification settings - Fork 316
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
pt-query-digest 3.0.11 changed checksum
from BIGINT UNSIGNED to CHAR(32)
#200
Comments
if clicked the checksum link,there will be "Unknown checksum" error,is this related with this field type change? |
Because we also have another yet transform for 'checksum' field:
But quickly replace checksum callback to return checksum field without changing - has no effect.
But this is not tested and we don't know - maybe this fix can breake another places. |
Hmmm no, maybe more cleaner - to disable/remove callback for 'checksum' field. |
Desription
pt-query-digest 3.0.11 and later calculates query-checksum as 32 chars (was 16 chars and cast to BIGINT UNSIGNED)
https://www.percona.com/doc/percona-toolkit/LATEST/pt-query-digest.html#cmdoption-pt-query-digest-history
And then, query-checksums which are generated by t-query-digest 3.0.11 and later couldn't be stored correctly.
This makes to break query aggregation.
How to repeat
Following steps in README.md with pt-query-digest >= 3.0.11.
Suggested Fix
install.sql should be changed datatype to
CHAR(32)
.And some behaviors (ex. using
translate_checksum
) have to be fixedThe text was updated successfully, but these errors were encountered: