Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use with default Nuget Dependency #4

Closed
cybermaxs opened this issue May 16, 2013 · 6 comments
Closed

Unable to use with default Nuget Dependency #4

cybermaxs opened this issue May 16, 2013 · 6 comments
Labels

Comments

@cybermaxs
Copy link

When creating a project from scratch, and adding Harbour.RedisSessionStateStore via Nuget, it's impossible to use this provider because of the version of ServiceStack.Redis (3.0.9).

Got this error :

System.MissingMethodException: Method not found 'Void ServiceStack.Redis.IRedisClient.UnWatch()'

The version 3.0.9 does not containes Watch/UnWatch method.
Updating to latest ServiceStack.Redis solve the issue.

@TheCloudlessSky
Copy link
Owner

Could you please provide more details? I have it running just fine in ServiceStack.Redis 3.9.45.

Also, Watch and Unwatch do indeed exist on the IRedisNativeClient.

@cybermaxs
Copy link
Author

You're right : updated the issue

@TheCloudlessSky
Copy link
Owner

Yes - this is expected. We need to watch keys until to make sure that they're not modified during a block of work. I'm eventually going to be switching this to LUA scripts to make things more transactional.

@cybermaxs
Copy link
Author

Expected ?
As I said, after adding your provider via Nuget, I can't execute any web page until I update ServiceStack.Redis.
I am aware of session locking, but I think the issue is only because of an uncorrect dependency in Nuget.

@TheCloudlessSky
Copy link
Owner

Well it's partially expected: because you're using an old version of ServiceStack.Redis. However, one thing I should do is fix the dependencies correctly. So - I'll reopen until I fix that. Thanks!

@TheCloudlessSky
Copy link
Owner

I just released 1.2.0 which fixes the dependencies (among other things) 🚢.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants