Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Was receiving MemcachedKeyLengthError: Key length is > 250 with the following stack trace:
Traceback (most recent call last):
File "/opt/graphite/webapp/graphite/render/datalib.py", line 138, in fetchData
seriesList = _fetchData(pathExpr,startTime, endTime, requestContext, seriesList)
File "/opt/graphite/webapp/graphite/render/datalib.py", line 101, in _fetchData
fetches = [(node, node.fetch(startTime, endTime)) for node in matching_nodes if node.is_leaf]
File "/opt/graphite/webapp/graphite/storage.py", line 41, in find
remote_requests = [ r.find(query) for r in self.remote_stores if r.available ]
File "/opt/graphite/webapp/graphite/remote_storage.py", line 24, in find
request.send()
File "/opt/graphite/webapp/graphite/remote_storage.py", line 57, in send
self.cachedResult = cache.get(self.cacheKey)
File "/usr/lib/python2.7/site-packages/django/core/cache/backends/memcached.py", line 64, in get
val = self._cache.get(key)
File "/usr/lib/python2.7/site-packages/memcache.py", line 793, in get
return self._get('get', key)
File "/usr/lib/python2.7/site-packages/memcache.py", line 761, in _get
self.check_key(key)
File "/usr/lib/python2.7/site-packages/memcache.py", line 954, in check_key
% self.server_max_key_length)