jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mueller <muel...@adobe.com>
Subject Re: JSOP
Date Wed, 30 Nov 2011 08:44:40 GMT

Another proposed addition is a 'test' line:

= "/swiss/lx 38/availableSeats": 100
^ "/swiss/lx 38/availableSeats": 99

The meaning of the 'test' line (the one starting with '=') is: before
applying the rest of patch, the value is verified. If it does not match,
then the subsequent line(s) will not be applied. The exact semantics are
not yet defined however and will most likely be implementation specific -
for example it is undefined whether a mismatch will result in an exception
or not, and whether all following lines of the commit belong to the same
atomic operation or not.

This addition allows to construct atomic commits - see also


View raw message