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

properties_collector: (un)materialize: add missing m_name #1213

Open
wants to merge 2 commits into
base: fb-mysql-8.0.28
Choose a base branch
from

Conversation

rockeet
Copy link
Contributor

@rockeet rockeet commented Aug 15, 2022

This PR bump stats version to INDEX_STATS_VERSION_WITH_NAME = 3 for added m_name.

use highest bit of m_rows for m_name existing flag, this is safe,
because m_rows is 64 bits, m_rows will never reach 64 bits limit.
@yoshinorim
Copy link
Contributor

Could you elaborate more about why it is necessary to store index names in SST files? Index name is defined in MySQL data dictionary, so MyRocks can extract index names, map between internal index ids and index names when opening tables.

@rockeet
Copy link
Contributor Author

rockeet commented Aug 17, 2022

We have an visualization tool which can view structures inside an SST file, by this tool we found name is missing, then we added name in (un)materialize.

image

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.

3 participants