-
Notifications
You must be signed in to change notification settings - Fork 714
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
Test MyRocks with concurrent transactions through replication #107
Comments
Completed the following items:
|
MyRocks test result update. Please see MyRocks test results so far in the attached .csv file. I have a OS X Numbers workbook file. Unfortunately it is a supported file type for attachment here. Let me know if you prefer to have that so I can email it to you. Couple things observed:
At this time, I would like to sync up with both Facebook and MariaDB teams to make sure my testing is within your expectation. Please let me know if you have preference on the what areas I should focus my testing effort on. My next test plan is to modify the SQL statement syntax (grammer in RQG) and run tests on the MyRocks-InnoDB replication setup. Thanks Daniel |
@dleeyh : I tested MyRocks-InnoDB master-slave replication but I couldn't reproduce row count mismatch. Could you double check if InnoDB slave was not lagged? When I tested, InnoDB slave was lagged a lot (though setting innodb_flush_log_at_trx_commit=0 mitigated the lag) so I had to wait for a while for InnoDB slave to catch up. |
Ok. I will check to see if InnoDB is lagging after my current test. I have a SQL script to dump the content of the tables to a txt file and diff on them. |
With the latest release build (without debugging), I ran the test again with threads=20. I did not see any InnoDB lagging and I did not see the mismatched results that I reported earlier. I will do more tests, possibly with a debug build again. |
Correction: My last test was on the same debug release that I use before. |
I increased the threads to 50 and ran more tests. I noticed the InnoDB slave lagging and the mismatched results. After the InnoDB slave caught up processing, the results matched. Thanks, Yoshinori. |
(this is a write-up from last week's call. The task is for Daniel Lee @dleeyh).
We would like to test MyRocks behavior with concurrent transactions, both for crashes and for correctness. There is no ready tool to do that. Here is an idea how to achieve this:
This way, master runs data in parallel, the slave applies it sequentially (and hopefully correctly), which gives us ability to check master against the slave.
The text was updated successfully, but these errors were encountered: