[Zope] zope operations atomic?
Chris McDonough
chrism@zope.com
Wed, 31 Oct 2001 16:44:24 -0500
> I don't want to be dense but it sounds like for each thread a deep
> copy of the items it accesses- Folder for example- is made. When
session
> ends or something triggers a commit a check is made for conflicts.
A commit is triggered by the finalization of every HTTP request.
> This sounds a bit scarry because if you have a script changing
resources
> like a Folders
> it is almost certain then that there will be a conflict. At this
point a
> retry still
> find conflicts. I would rather have heard the Folder was a critical
> section or methods
> like manage_changeProperties were atomic. IMHOP it should be so.
Though it sounds like you have a valid concern, I can't seem to pick
it out of that series of words. ;-) What is it that you're worried
about?
- C