I am trying to use hook for my yang structure. The structure consist of leaf on whoes modification my hooks should be called and within that transaction I starting another maapi transaction to modify other object in CDB.
It works fine when I use the set hooks instead of transaction hooks.
If I use transaction hook, after my custom code is called … a new maapi transaction gets added but , it nevers comes out of it and get hung and after some time the confd stops.
While for set hooks both the transaction gets committed and works fine.
Please advise what is that I am missing here with transaction hooks.