-
Notifications
You must be signed in to change notification settings - Fork 713
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
Skip trailing space bytes for non-unpackable fields #785
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.
@lth has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This is a fantastic turn-around. I will cherry-pick this in immediately to avoid our normal merge lag. Thanks guys! |
@lth has updated the pull request. |
@lth has updated the pull request. |
@lth has updated the pull request. |
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.
@lth has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Upstream commit ID : fb-mysql-5.6.35/f3d36951a62aa1a00a5a10083fb77e9919022e03 Cherry picked directly. Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes percona#784 Closes facebook/mysql-5.6#785 Differential Revision: D6699483 fbshipit-source-id: fd5c9d6
Upstream commit ID : fb-mysql-5.6.35/f3d36951a62aa1a00a5a10083fb77e9919022e03 MYR-232 : rocksdb: crash & corruption, charsets, indexed cols Cherry picked directly. Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes percona#784 Closes facebook/mysql-5.6#785 Differential Revision: D6699483 fbshipit-source-id: fd5c9d6
Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes #784 Closes #785 Differential Revision: D6699483 fbshipit-source-id: d0e042c
Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 fbshipit-source-id: d0e042c
Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 fbshipit-source-id: d0e042c
Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 fbshipit-source-id: d0e042c
Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 fbshipit-source-id: d0e042c
Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 fbshipit-source-id: d0e042c
Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes #784 Closes #785 Differential Revision: D6699483 (f3d3695) fbshipit-source-id: 7707a3173f7
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 (facebook@f3d3695) fbshipit-source-id: 7707a3173f7
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 (facebook@f3d3695) fbshipit-source-id: 7707a3173f7
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 (facebook@f3d3695) fbshipit-source-id: 7707a3173f7
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 (facebook@f3d3695) fbshipit-source-id: 7707a3173f7
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 (facebook@f3d3695) fbshipit-source-id: 7707a3173f7
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 (facebook@f3d3695) fbshipit-source-id: 7707a3173f7
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483 (facebook@f3d3695) fbshipit-source-id: 7707a3173f7
Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes #784 Closes #785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…rcona#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes percona#784 Closes facebook/mysql-5.6#785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…acebook#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes facebook#784 Closes facebook#785 Differential Revision: D6699483
…rcona#785) Summary: We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes. Closes percona#784 Closes facebook/mysql-5.6#785 Differential Revision: D6699483
We always generate unpack info bytes that indicate how much trailing space we need, even when the field can never be unpacked, because it is not implemented. When skipping these fields however, we only skip the key portion, and not the value portion which corrupts data for code that reads unpack_info downstream. Fix by skipping these bytes.
Closes #784