Skip to content
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

drush entup --no-cache-clear is clearing cache #3586

Closed
hanoii opened this issue Jun 15, 2018 · 2 comments
Closed

drush entup --no-cache-clear is clearing cache #3586

hanoii opened this issue Jun 15, 2018 · 2 comments

Comments

@hanoii
Copy link
Contributor

hanoii commented Jun 15, 2018

I am looking into running this command to detect if there are pending updates under certain circumstances, and I don't want to clear cache to make it faster but it's always clearing.

drush 9.3.0

@ghost
Copy link

ghost commented Oct 11, 2018

Same issue is happening to me.

drush entup -y -v --uri=http://example.com --no-cache-clear
 [info] Executing: mysql --defaults-file=/tmp/drush_hvzTLG --database=db --host=dbhost --port=3306 --silent  < /tmp/drush_uR9iVs
 [info] Executing: mysql --defaults-file=/tmp/drush_2NPKM8 --database=db --host=dbhost --port=3306 --silent  < /tmp/drush_TPljMU
 [success] No entity schema updates required
 [info] /usr/local/bin/drush  --backend=2 --verbose --root=/var/lib/jenkins/workspace/ --uri=http://example.com  cache-rebuild 2>&1
 [success] Cache rebuild complete.
 [success] Finished performing updates.

@weitzman
Copy link
Member

Fixed in ab8e8a7.

Detection of pending updates should be handled by updatedb:status. To pick out just entity updates you can use grep, or --format=json and some more processing. It will require no further processing once we have #3718 (and follow-ups).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants