Comments (4)
Fixed in v1.1.0
from harbour.redissessionstatestore.
May I ask how do you treat the case when a Redis transaction fails because keys have changed and the previous watch command prevented the execution of the Redis commands?
http://redis.io/topics/transactions
In order to prevent all this concurrency problems it might be a good idea to use Redis 2.6 with Lua scripting support. Redis guarantees that the Lua script will be ran safely and in that case multiple operations on keys can be done without side effects.
from harbour.redissessionstatestore.
So, right now, it'll just fail (which isn't ideal). I'm planning on using the generational approach in my NHibernate.Caches.Redis library but I haven't had time in the past few weeks. This approach keeps the generation of the data for every Redis client in sync. I'd be happy to also accept a pull request with this too 😄 !
I do apologize for not having the time to update this, since my project's aren't currently using this code.
from harbour.redissessionstatestore.
I thought I'd let you know that I just released v1.2.0 that will attempt to replay the transaction if it failed.
from harbour.redissessionstatestore.
Related Issues (20)
- Error "Already referencing a newer version of ServiceStack.Text" when installing from Nuget HOT 30
- Authorization on Redis server HOT 2
- How do I set Defined Options from Application without recompiling the DLL HOT 1
- serialize type question HOT 2
- Application Prefix HOT 3
- Exceptions HOT 1
- SessionState in Azure Redis HOT 1
- Exception - A Pipeline Is Already In Use HOT 6
- NullReferenceException in ReleaseItemExclusive HOT 11
- A transaction is already in use and other errors under load HOT 2
- Set Session.Timeout in runtime HOT 3
- Random Logout HOT 6
- “System.NullReferenceException” HOT 1
- Always throw NullReferenceException when using this project in asp.net mvc3 HOT 1
- ServiceStack.Text version problem HOT 1
- RedisSessionStateStoreProvider using Sentinels HOT 1
- Run the sample site throw the "context.Session is null" exception HOT 1
- Already referencing a newer version of 'NHibernate' HOT 1
- RedisSessionStateStoreProvider.cs not found HOT 2
- How Can i Use this with Web Api?
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 harbour.redissessionstatestore.