We fixed this by adding
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/default/services.yml';
to settings.php
.
You are not alone. I have been trying to work this out for a while now on Drupal 11. I want to disable the default Access-Control-Allow-Origin: *
header.
I don't see this fix in the 3.0.2 version.
I was experiencing the same issue. Try adding this to your settings.php.
$settings['memcache']['options'] = [
Memcached::OPT_DISTRIBUTION => Memcached::DISTRIBUTION_CONSISTENT
Memcached::OPT_REMOVE_FAILED_SERVERS => true
];
The README states that DISTRIBUTION_CONSISTENT is the default, but according to the PHP memcached manual the default is in fact DISTRIBUTION_MODULA.
Additionally, you need OPT_REMOVE_FAILED_SERVERS enabled in order for keys to be routed to the other servers, otherwise you will experience a big slow down in your site while it tries and retries to get/set keys on the bad server.
Here's a patch for version 1.0.0-rc1.