Skip to content

Commit 8fd4965

Browse files
Update doc for node creation.
1 parent e067751 commit 8fd4965

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/lock.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,9 +533,7 @@ be lost without notifying the running processes.
533533
cluster will see the same state.
534534

535535
.. caution::
536-
If you have a path such as ``base_node/node_1/lock_node`` when creating a lock, then only ``lock_node`` will be created as an ephemeral node and other
537-
nodes will be created as a persistent node and will not be cleaned up as a part of delete operations. This is because, it could lead
538-
to unexpected behavior and hence it is recommended that you always create a lock as ``lock_node`` without any subpath.
536+
You must always create a lock as ``lock_node`` at the root level without any nested level, otherwise it would lead to a LockAcquiringException.
539537

540538
Overall
541539
~~~~~~~

0 commit comments

Comments
 (0)