Closed
Description
Preconditions
All Magento versions
Steps to reproduce
- Setup 2 Varnish servers (cache1 and cache2) in the http_cache_hosts section of "env.php"
- Turn off the first one (cache1)
- Try to flush the full_page by launching bin/magento cache:flush full_page
Expected result
The full_page is flushed for cache2 (the only one responding)
Actual result
The full_page is not flushed for all servers
The problem is located here :
\Magento\CacheInvalidate\Model\PurgeCache::sendPurgeRequest
In the "foreach" loop, there is a "return false" at the first exception insteag of "continue", preventing the try on all servers.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.3 release lineGate 2 Passed. Manual verification of the issue description passedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.3 release