forked from facebook/mysql-5.6
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Data Dictionary format with atomicity
Summary: This diff introduces new class Dict_manager that takes two responsibilities. - new Data Dictionary format, in order to get normalized and more flexible for further format changes. - supporting atomic operations via rocksdb::WriteBatch Dictionary format changes are as follows. * Separated (table_name-> internal index ids+cf_id+cf_flags) dictionary model into three normalized indexes -- (table_name->index ids, index id-> CF id, and CF id-> CF flags). * Added 2-byte version flag for each value entries This diff changed existing dictionary formats so it's not compatible with previous dictionary. This diff reserved index ids for drop index (drop table), table stats and index stats but they are not implemented yet. Will be implemented in separated diffs. Details are (and will be) described at storage/rocksdb/myrocks-data-dictionary.txt. Differential Revision: https://reviews.facebook.net/D34581 fbshipit-source-id: 3ee6fd2
- Loading branch information
1 parent
2bd93ad
commit dad741a
Showing
7 changed files
with
462 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.