spring-projects / spring-projects/spring-session
How can I copy values from one redis to other when it has redis sessions?
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 55
Description
I am trying to do this:
I have one redis instance(redis1) with sentinels working, it has the sessions.
I have other redis instance (redis2) with sentinels working, it has nothing.
When I enter to redis2 instace I want to look in redis1 for the session and store it (if need it) in redis2. I created a filter to do it but there are several issues with the serialization, I was wondering if there is any other way to do it? Each redis works great individually but when trying to do this I just cannot archive it.
Any ideas how?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are mentioned. Start by clarifying how Spring Session should access redis1 and redis2 with Sentinel, including the session serialization and fallback behavior. Done would require a documented or implemented way to retrieve a session from redis1 and store it in redis2 without serialization failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, redis
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100