Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

lth
Copy link
Contributor

@lth lth commented Jan 10, 2018

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

Copy link

@facebook-github-bot facebook-github-bot left a 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.

@george-lorch
Copy link

This is a fantastic turn-around. I will cherry-pick this in immediately to avoid our normal merge lag. Thanks guys!

@lth lth force-pushed the fb-mysql-5.6.35 branch from 482d231 to 466f572 Compare January 11, 2018 22:06
@facebook-github-bot
Copy link

@lth has updated the pull request.

@lth lth force-pushed the fb-mysql-5.6.35 branch from 466f572 to 2893719 Compare January 11, 2018 22:07
@facebook-github-bot
Copy link

@lth has updated the pull request.

@lth lth force-pushed the fb-mysql-5.6.35 branch from 2893719 to 53c0fe2 Compare January 11, 2018 22:08
@facebook-github-bot
Copy link

@lth has updated the pull request.

Copy link

@facebook-github-bot facebook-github-bot left a 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.

george-lorch pushed a commit to george-lorch/percona-server that referenced this pull request Feb 16, 2018
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
george-lorch pushed a commit to george-lorch/percona-server that referenced this pull request Feb 20, 2018
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
facebook-github-bot pushed a commit that referenced this pull request Dec 23, 2019
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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 12, 2020
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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 9, 2020
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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 16, 2020
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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Oct 5, 2020
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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Nov 11, 2020
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
facebook-github-bot pushed a commit that referenced this pull request Mar 8, 2021
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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 16, 2021
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 17, 2021
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 30, 2021
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 30, 2021
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Aug 31, 2021
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 1, 2021
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Sep 2, 2021
…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
hermanlee pushed a commit that referenced this pull request Jan 10, 2022
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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jan 17, 2022
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jan 17, 2022
…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
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 20, 2022
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request May 23, 2022
…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
laurynas-biveinis pushed a commit to laurynas-biveinis/mysql-5.6 that referenced this pull request Aug 11, 2022
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Mar 25, 2023
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Mar 28, 2023
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 1, 2023
…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
inikep pushed a commit to inikep/mysql-5.6 that referenced this pull request Jun 14, 2023
…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
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 9, 2024
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants