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
Bug? Data API v3: GET entries endpoint has inconsistent response #369
Comments
@nakedsushi |
@miniuchi that's the tricky part. It's not a consistent behavior. Normally, it does not show up, but whenever I use the Data API to create a lot of entries at once (serially), after a while, creating the entries silently fail (entry is created but with blank body and title) and listing the entries shows this bug. After an undetermined amount of time, everything goes back to normal and the bug disappears. I'm running the Amazon MT7 AMI with default settings (connected to MariaDB), memcached disabled. I wonder if there's some sort of caching going on in the perl module or a fallback when the server is overloaded. No other plugins or addons installed. |
More clues. I wonder if it's the way starman is set up? When the bug starts happening, if I restart starman with [update]: Can confirm this is effected by how starman starts up. When I change the |
@nakedsushi |
@nakedsushi |
Steps to reproduce:
|
@nakedsushi I tried to reproduce it with the following script and MT7 nginx AMI (t2.medium), but couldn't. I wrote this script with reference to #369 (comment). |
@miniuchi You're right, I can't reproduce it now either on my AMI with your script. I'll try it again when I get back into work with my full script and see what the difference is. Thanks for working on this! |
Update: I haven't been able to consistently reproduce it with my own script. Sometimes it happens, sometimes it doesn't and setting the number of MAXREQUEST to something low like 10 sometimes works and doesn't. I'll play around with it some more and see if I can get more consistency with it. |
@nakedsushi |
version
r.4208 (7.0.1)
Doing the same GET request to
/mt/mt-data-api.cgi/v3/sites/1/entries?fields=author,basename
will return different responses even if no entries were added or deleted.Steps to reproduce:
/mt/mt-data-api.cgi/v3/sites/1/entries?fields=author,basename
, take note of the response.I don't think it's a memcached error because I have disabled memcached and this still keeps happening.
The text was updated successfully, but these errors were encountered: