-
Notifications
You must be signed in to change notification settings - Fork 24
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
Inconsistent DB update behavior on environment create #140
Comments
It's not intended to: https://github.com/pantheon-systems/terminus/blob/master/terminus.drush.inc#L2540 But I believe it's possible that that FALSE parameter is a bad match for the 0 (zero) default in the actual backend: https://github.com/pantheon-systems/terminus/blob/master/terminus.workflow.api.inc#L10 Can you try changing the |
Tested the change and it succeeded... But it's hard to say, because the error isn't very deterministic. I can't guarantee it succeeded because of the change, or it succeeded because the race condition didn't happen to crop up. I do see "Run update.php in my-env" as a successfully completed job in the Pantheon UI... But I'm not sure whether or not that would show for a manual drush updb call. |
That should not come through from a drush call. That would be our task system at work. I'll see if I can replicate this locally. |
Ok got it. Looks like sending ANY value for the updatedb flag will trigger it. |
In our automated build process, we run, essentially...
We run into problems when we have long-running update hooks; they appear to be running twice (simultaneously) and, in those cases, failing... Main theory being that the psite-ecreate command begins running one (or so it seems)... Then the explicit updb call starts running the same one (because there's no mechanism to say "update x is running" other than "x already ran").
I guess this is either...
The text was updated successfully, but these errors were encountered: