﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27152	Comma-delimited servers list not supported in memcached caches `LOCATION`	Ed Morley	Ed Morley	"Currently Django's memcached backends only support a semicolon delimited servers list in the cache config, such as:

{{{
CACHES = {
    'default': {
        'LOCATION': 'server1.foo.com;server2.foo.com',
    },
}
}}}

This is because the backend [https://github.com/django/django/blob/1.10/django/core/cache/backends/memcached.py#L16 just does]:
{{{
    self._servers = server.split(';')
}}}

However cloud memcached offerings such as Memcachier and Memcached Cloud typically use a comma-delimited list in the automatically set environment variable, eg:

{{{
MEMCACHIER_SERVERS='foo.us-east-5.heroku.prod.memcachier.com:11211,bar.us-east-5.heroku.prod.memcachier.com:11211'
}}}

Given that the caches `LOCATION` parameter contains only domain name and port (and not say passwords), it should never contain a comma - so we should be fine to also split on them too."	Cleanup/optimization	closed	Core (Cache system)	1.10	Normal	fixed		emorley@…	Ready for checkin	1	0	0	0	0	0
