fixed #5126: Persistent ID can't be configured for memcached

see #5126