-
Notifications
You must be signed in to change notification settings - Fork 79
Optimistic lock approach to ensure sync. over group values #17
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
Conversation
|
Hi @gweisz can you please add unit test to your contribution? thanks in advance |
|
There! |
Optimistic lock approach to ensure sync. over group values
|
I found the removeGroup operation also has the same problem. I try to use delete operation with cas |
|
Is this project dead? Last release (1.0.0) is from 2014 but I do see recent commits though... |
|
It's still alive. I don't think much in actual code has ever had to change this no new release. However there will be one after mybatis 3.5.0 is released.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Adrián Boimvaser <notifications@github.com>
Sent: Thursday, January 17, 2019 1:44:42 PM
To: mybatis/memcached-cache
Cc: Subscribed
Subject: Re: [mybatis/memcached-cache] Optimistic lock approach to ensure sync. over group values (#17)
Is this project dead? Last release (1.0.0) is from 2014 but I do see recent commits though...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#17 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AA7hoz1rtgaD-qWo3Pm7pFsyUZIZA-a0ks5vEMSagaJpZM4FmOd6>.
|
|
@hazendaz what about this bugfix from 2015? |
|
@adrianboimvaser Reading the issue it feels to me it was not considered much of a bug as it was extra protection. I can also see after looking that it's quite possible this missed released in 2016 when nearly everything was released most likely as I was doing them and I didn't have memcache locally. Anyway, I'll look over the outstanding PRs and work to get a release once mybatis 3.5.0 is released. Anything at this point is java 8 usage, will that pose any issues for you? |
|
Well, I ran after this in production just a few days after starting using it and it was really bad. |
|
@adrianboimvaser @emigioria A new release has been pushed to central. It will show up in about 2 hours but you can otherwise pull it now. Version is 1.1.0. It does require java 8 and will pull in mybatis version 3.5.0. Let me know if that solves the issues you have run into. Thanks. |
Directly related to: #11
Ensures that no group value being added to the group is lost.
The part:
Could be improved thought, maybe throwing an exception after a certain number of retries.