Skip to content

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