[Yanel-dev] Yarep.addMember() issue : be aware

basZero baszero at gmail.com
Tue Feb 21 11:34:33 CET 2012


dear all,

we had a dramatic incident last evening, one of the group.xmls got
corrupted by two parallel requests doing exactly the same thing.

I described the whole use case and solution propsal including a workaround
here:
https://github.com/wyona/security/issues/1

This is just to let Yanel customers know that highly multi-threaded realms
should be aware that most Yarep-Methods are not multi-threadable and must
be synchronized in the realm's code.

The code proposal to solve it is included in the issue description above.
If really needed, I can also create a pull request for this. But I think
the idea is clear how to fix it.

Cheers
Balz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20120221/12aa1931/attachment.html>


More information about the Yanel-development mailing list