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
Address the TODO comment on Table_ddl_manager::put #33
Comments
Comment by yoshinorim @maykov Now MyRocks always aborts if dict_manager.commit() fails. Do we still need to fix this? |
…rting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Test Plan: mtr Reviewers: maykov, jonahcohen, hermanlee4, yoshinorim Reviewed By: yoshinorim Subscribers: jtolmer Differential Revision: https://reviews.facebook.net/D33957
came across this comment, while working on inplace alter table. Are we still planning to fix this? Can I assume that dict_manager.commit will not fail (or if it does, MyRocks will abort anyways) |
I think there is probably enough functionality depending on dict_manager.commit() succeeding that if it fails, MyRocks needs to abort. So you can depend on this requirement. Do others feel this is the case? |
MyRocks aborts on dict_manager.commit() errors and we are unlikely to change it. So you can rely on it. |
ok, sounds good. |
…rting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Test Plan: mtr Reviewers: maykov, jonahcohen, hermanlee4, yoshinorim Reviewed By: yoshinorim Subscribers: jtolmer Differential Revision: https://reviews.facebook.net/D33957
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Test Plan: mtr Reviewers: maykov, jonahcohen, hermanlee4, yoshinorim Reviewed By: yoshinorim Subscribers: jtolmer Differential Revision: https://reviews.facebook.net/D33957
…rting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 0eb822e
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 0eb822e
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 0eb822e
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 0eb822e
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 0eb822e
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 0eb822e
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 06281bdcc18
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 06281bdcc18
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 06281bdcc18
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 06281bdcc18
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957 fbshipit-source-id: 06281bdcc18
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957
… uses sorting Summary: Fix the index properties returned by the storage engine: - ha_rocksdb::primary_key_is_clustered()= true; - ha_rocksdb::keys_to_use_for_scanning()= &key_map_full; Differential Revision: https://reviews.facebook.net/D33957
Issue by maykov
Thursday Apr 02, 2015 at 06:35 GMT
Originally opened as MySQLOnRocksDB#50
This function modifies ddl_hash and index_num_to_keydef.
However, these changes need to be reversed if dict_manager.commit fails
See the discussion here: https://reviews.facebook.net/D35925#inline-259167
The text was updated successfully, but these errors were encountered: