You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Gildor Oronar <gi...@mail-on.us> on 2007/09/25 07:14:08 UTC

what transaction is supported?

As said: on http://xml.apache.org/xindice/todo.html

[xml] Basic Document-level transactions We need to provide the ability to
lock a node (and recursively everything beneath it) to support node-level
transactions. This locking should allow for both single writer/many reader
and exclusive locking. → open

What does this mean? Does this mean, that Basic Document-level transation
is being planned and is on todo list, or does it mean, that current 1.1
version has Basic Document-level transaction and it's being planned to add
a node-level transation?

Best regards

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Re: what transaction is supported?

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Gildor Oronar wrote:
> As said: on http://xml.apache.org/xindice/todo.html
> 
> [xml] Basic Document-level transactions We need to provide the ability to
> lock a node (and recursively everything beneath it) to support node-level
> transactions. This locking should allow for both single writer/many reader
> and exclusive locking. → open
> 
> What does this mean? Does this mean, that Basic Document-level transation
> is being planned and is on todo list, or does it mean, that current 1.1
> version has Basic Document-level transaction and it's being planned to add
> a node-level transation?

The former.

Usually in content management systems there are many readers / few writers, so 
transactions are not high on a priority list. Xindice guarantees atomicity of 
writes and this is enough for most scenarios. Transactions come into picture 
when there are use cases where several documents have to be modified 
(/added/removed) simultaneously - which usually is not a requirement.

Vadim