-
Notifications
You must be signed in to change notification settings - Fork 712
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
SAVEPOINT support #52
Comments
Comment by yoshinorim First diff was committed -- https://reviews.facebook.net/D44223 . This is for read only transactions (mysqldump) only, and there is no error handling on modifications. |
Current behavior is very confusing because ROLLBACK TO SAVEPOINT silently succeeds but it doesn't rollback modifications. We need either:
|
#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Test Plan: mtr Reviewers: hermanlee4, jkedgar, spetrunia Subscribers: webscalesql-eng Differential Revision: https://reviews.facebook.net/D53055
Now modification is not allowed --- https://reviews.facebook.net/D53055 . This makes ROLLBACK TO SAVEPOINT less confusing. |
#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Test Plan: mtr Reviewers: hermanlee4, jkedgar, spetrunia Subscribers: webscalesql-eng Differential Revision: https://reviews.facebook.net/D53055 Differential Revision: https://reviews.facebook.net/D55011 Differential Revision: https://reviews.facebook.net/D55161
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Test Plan: mtr Reviewers: hermanlee4, jkedgar, spetrunia Subscribers: webscalesql-eng Differential Revision: https://reviews.facebook.net/D53055 Differential Revision: https://reviews.facebook.net/D55011 Differential Revision: https://reviews.facebook.net/D55161
#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 0178a1e
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 0178a1e
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 0178a1e
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 0178a1e
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 0178a1e
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 0178a1e
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 228f0131f26
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 228f0131f26
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 228f0131f26
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 228f0131f26
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 228f0131f26
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161 fbshipit-source-id: 228f0131f26
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161
facebook#52) Summary: MyRocks did neither rollback nor return an error on ROLLBACK TO SAVEPOINT, which was confusing to users. This diff makes MyRocks return an error on ROLLBACK TO SAVEPOINT if modifying rows. Users can at least know that. Real fix is to support rollback on savepoint, not to return an error, which will happen in future release. Differential Revision: https://reviews.facebook.net/D55161
Issue by yoshinorim
Friday Aug 14, 2015 at 15:03 GMT
Originally opened as MySQLOnRocksDB#96
SAVEPOINT is needed for https://bugs.mysql.com/bug.php?id=71017. For bug71017, SAVEPOINT for read only transaction is good enough. It is needed to define behavior if there is any updates.
The text was updated successfully, but these errors were encountered: