From: NHibernate J. <mik...@us...> - 2006-11-16 19:30:29
|
CacheKey key is invalid - memcached fails to store objects. ----------------------------------------------------------- Key: NH-813 URL: http://jira.nhibernate.org/browse/NH-813 Project: NHibernate Type: Patch Components: Core Versions: 1.2.0.Beta2 Reporter: Stuart Carnie Attachments: cachekey-fix.patch The CacheKey derives from IdentifierSpace, which is EntityMetaModel.RootTypeAssemblyQualifiedName. This name contains spaces, which causes an issue with MemCache, in the 'set' command. With the spaces in the key, an invalid command is sent to the memcached server. I have provided a patch that exposes a new property on EntityMetaModel, RootName (to match the property name in Hibernate), which simply replaces the spaces with underscores '_'. Now memcached caching works fine. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nhibernate.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |