Comments (8)
No, but I'd be happy to accept a pull request. :)
from cm_redissession.
I'll make a note of this and see if I can get something worked up in the near future.
from cm_redissession.
@theycallmepepper This script could be a hint
https://github.com/colinmollenhour/Cm_RedisSession/blob/master/migrateSessions_mysql_redis.php
from cm_redissession.
@chuangbo That should definitely help lead me in the right direction. Looking at it and the docs for Zend_Cache_Backend_Memcached I should be able to get something working. Hopefully I'll have a bit of free time to work on it soon.
from cm_redissession.
I dont think that it is ever possible. There is no (by design) official way to get all memcached content from it.
from cm_redissession.
@samm-git Which is a great reason to never use memcached for anything other than a cache. :)
Googling around it appears there is a method using the "stats" feature but it is not guaranteed to work 100%.
from cm_redissession.
@colinmollenhour agree. Actually there are 2 options: memcached as a software or memcached as protocol, what is supported by many other servers, from the Couchbase to MySQL. In this case you typically can do whatever you want with data using native interfaces.
And yes, it should be possible to write poor man converter using 'stats items' and 'stats cachedump' commands.
from cm_redissession.
btw, another problem with memcached converter is that there are 2 different extensions with it own session storage format: pecl-memcache and pecl-memcached (libmemcache based). AFAIK magento out of the box works only with pecl-memcache, so probably this is only needed. Magento 2 allows to use any registred session handler, so both extensions could be used.
from cm_redissession.
Related Issues (20)
- Connectivity issue with Azure Redis Cache HOT 1
- Configuration changes don't take effect HOT 3
- hard coded session expiry HOT 5
- Magento 1.7.0.2 and PHP 7.x HOT 1
- Fatal Error when compilation is enabled HOT 4
- Passing glue string after array is deprecated. Swap the parameters in colinmollenhour/credis/Client.php on line 1414 HOT 4
- Cm\RedisSession\Handler::read taking more than 6sec HOT 14
- Session storage - Too many active connections HOT 2
- Tag current version master HOT 1
- Magento 2 switching to Laminas instead of Zend (ZF2) HOT 3
- Experiencing delay problems HOT 1
- PHP Warning: Module 'redis' already loaded in Unknown on line 0 HOT 1
- Make setSaveHandler() only callable once
- Separate read-only instance from read/write instance HOT 5
- missing ConfigInterface HOT 1
- Session IDs are plain text in redis (missing hash) HOT 1
- Native Magento Redis Session extension HOT 1
- 3.0.1 can not load the session model using composer HOT 10
- How can I install a specific version of this module via modman? HOT 4
- Error cleaning cache by mode matchingAnyTag: A pipeline is already in use and only one pipeline is supported. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cm_redissession.