On 8.4.15 10:57 , Julian Reschke wrote:
Turns out that checking for item existence before accessing the item
is JCR API best practice. So Sling follows best practice.

Why would it be best practice? You need to handle an exception anyway
(due to possible race conditions).

With Oak you generally don't have such races thanks to MVCC. But in general you are right, checking existence before access is prone to races.

Michael

Reply via email to