Deleting only list members

Hi All,

Consider below tree

container

  • leaf-1
  • leaf-2
  • list
    list-leaf-1
    list-leaf-2
  • leaf-3
  • leaf-4

For this tree on giving “no container” command, all entries are getting deleted as expected. But, my requirement is to recreate entries again in same transaction.

On trying to recreate entries in remove callback confd hangs forever.

is there a way only leaves getting deleted, but not list entry?
i.e., list can exists as empty.

Regards,
Chandu

Your maapi call waits for the ongoing transaction to complete, but it doesn’t since your remove callback that issues the maapi call does not complete.
See Deadlock - Wikipedia