I have the CDB keypath registration to a container in the yang.
When exactly during the commit phase does the cdb callback get triggered ?
My initial understanding is that once the commit commands returns to the cli, we get notified of the events and then the callbacks are triggered based on the subscriptions.
But by enabling the developer logs, it is observed that the commit phase first signals the dh(which then processes notifications) registered, waits for the acknowledgements from the DHs.
So basically commit waits for all these to finish and then only returns back?
There is considerable delay in DH since the configuration used is a scaled one and then commit has to wait for nearly 3mins for the control to return back.
Could you please let me know if is this sequence of events normal in the cdb flow or can this commit delay can be avoided ?