On Thu, Nov 20, 2014 at 04:01:35PM +0100, Pierre-Yves Chibon wrote:
> After discussing with Ralph, he pointed out we should activate the
> distributed_lock as we have multiples processes querying the same memcached
> servers. In addition, Ralph suggested that we use both memcached01 and
> memcached02 servers instead of relying on one only.
>
> The diff on the pkgdb2 config becomes:
> diff --git a/ roles/pkgdb2/templates/pkgdb2.cfg b/
> roles/pkgdb2/templates/pkgdb2.cfg
> index 828d41d..cd8e862 100644
> --- a/ roles/pkgdb2/templates/pkgdb2.cfg
> +++ b/ roles/pkgdb2/templates/pkgdb2.cfg
> @@ -29,7 +29,8 @@ ADMIN_GROUP = ['sysadmin-main', 'cvsadmin']
> PKGDB2_CACHE_BACKEND = 'dogpile.cache.memcached'
> PKGDB2_CACHE_KWARGS = {
> 'arguments': {
> - 'url': "127.0.0.1:11211",
> + 'url': ["memcached01:11211", "memcached02:11211"],
> + 'distributed_lock': True,
> }
> }+1 to the updated change. Thanks! -Ralph
pgpCPUOcGTuNX.pgp
Description: PGP signature
_______________________________________________ infrastructure mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/infrastructure
