Skip to content

Conversation

@gweisz
Copy link

@gweisz gweisz commented Aug 5, 2015

Directly related to: #11

Ensures that no group value being added to the group is lost.

The part:

    boolean jobDone = false;

    while (!jobDone) {
    ...
    }

Could be improved thought, maybe throwing an exception after a certain number of retries.

@emacarron
Copy link
Member

Hi @gweisz can you please add unit test to your contribution? thanks in advance

@gweisz
Copy link
Author

gweisz commented Aug 5, 2015

There!

emacarron added a commit that referenced this pull request Aug 5, 2015
Optimistic lock approach to ensure sync. over group values
@emacarron emacarron merged commit 4faf8b4 into mybatis:master Aug 5, 2015
@andever
Copy link

andever commented Nov 13, 2016

I found the removeGroup operation also has the same problem. I try to use delete operation with cas

@adrianboimvaser
Copy link

Is this project dead? Last release (1.0.0) is from 2014 but I do see recent commits though...

@hazendaz
Copy link
Member

hazendaz commented Jan 17, 2019 via email

@adrianboimvaser
Copy link

@hazendaz what about this bugfix from 2015?

@hazendaz
Copy link
Member

@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?

@adrianboimvaser
Copy link

Well, I ran after this in production just a few days after starting using it and it was really bad.

@hazendaz
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants