forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 13
DO NOT MERGE: replica transaction #62
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
Closed
Closed
Changes from 18 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
99faad4
replica transactions: initial implementation
deepthi b97066b
replica transactions: do not allow if using discoverygateway
deepthi 65a8a5c
replica transactions: fixed endtoend test
systay 2e647fc
replica transactions: tabletHealthCheck no longer has a mu
deepthi 3c14906
Cleaned up test
systay 8438053
Renamed fake test methods to include legacy
systay dccd6b6
Made TabletGateWay use an interface for the HealthCheck
systay 031527c
Clean up of test
systay 0b7bc39
replica transaction: fixed tests
systay 77a274f
replica transactions: protect tabletHealthCheck.Conn with mutex
deepthi abf30b7
Merge remote-tracking branch 'upstream/master' into ds-replica-transa…
systay 72ae94d
replica transactions: commit and rollback should be executed on the c…
deepthi be11233
Make tx_engine use read only transactions when in replica mode
systay c5cffda
Test cleanup
systay ab38d4a
Update test assertions
systay c14319a
replica transactions: tx_conn.commitNormal should rollback successful…
deepthi 015849a
replica transactions: allow with prepared statements, fix commit2PC
deepthi a8915b1
replica transactions: disallow DMLs on non-master tablets
deepthi 7900711
replica transactions: test cleanup
systay f13b506
replica transactions: refactor check so it's done in one place
systay e149589
replica-transactions: updated tests to work with the new master checking
systay a79abb3
test framework: rename funcs, replica tablet type should be set
deepthi bb7ac34
replica transaction: test tablet down and up produces correct error a…
deepthi bc2d19b
replica transactions: move test up one level since it is no longer ju…
deepthi 8caab43
add more assertions to commit order tests
deepthi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When checking for errors, we get better assertion error messages if we use
require.NoErrorinstead ofrequire.NilThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. I was looking for this, but thought it was something like NilError.