-
Notifications
You must be signed in to change notification settings - Fork 105
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
Transactions broken (DONT USE WILL CRASH MYSQL CONNECTION) #129
Comments
Not sure why transaction ends up locking up MySQL 100% but ye there is a issue with this. |
Cannot reproduce that locally. Doing multiple transactions works fine for me. Can you create a minimum working example, so i have the chance of reproducing your issue? |
Did you remember to try and restart the resource a couple of times ? 5-10 times and suddenly it locks up. |
Only test code i got is a script im working on, would not mind sharing it with you, but dont wanna share it with the world not right now adleest. But tryed to use transactions for saving but if i restart it a couple of times it ends in a lock up. |
If i revert over to normal Async calls to save the date no lock up on several restarts of the resource. |
With the next version it will be fixed. You can run
|
Sounds good, so there was a flaw in the code ? nice that it got fixed. |
That comment made it so i could reproduce the issue, meaning i could see myself what was wrong, from which on it was really easy to fix. If you have an issue, and tell me how i can trigger it myself, I can actually fix stuff; and that often really quickly if it is important broken stuff. Sadly nobody does that when reporting an issue. I might have a hunch where stuff is wrong in some cases, but with limited time, I often do not have the time to look in detail. e.g. the high tick rate people, it is likely their server is just overloaded with resources, sending data between resources eats up a budget. Like at some point your pc cannot be faster. Since mysql-async sends data on the next tick, it often looks like the culprit when it is not. |
Hi,
Tryed out the MySQL Transaction with latest version, and it's not fixed it's utterly broken.
Testet with following code.
The Save works, but if the resource is restartet a couple of times it locks up fully, and even normal MySQL connections from the fxserver wont work unless fx is restartet.
The text was updated successfully, but these errors were encountered: