You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was playing around the "REDIS DS" plugin. I added a breakpoint at the function srpds_redis_load, and then tried to change a leaf with sysrepo-cli. After commit, I saw function srpds_redis_load was called. This was good.
But the parameter xpaths was NULL, and xpath_count was 0. Here is the call stack:
My concern is: the data change only happens on a single leaf, does sysrepo really have to reload all the data in this module? Is it possible to only load necessary data?
The text was updated successfully, but these errors were encountered:
How do you know what data are necessary? Because of validation, the whole data tree is loaded, only foreign dependencies (in other modules) are tracked. Node-level dependency tracking is not implemented.
I was playing around the "REDIS DS" plugin. I added a breakpoint at the function
srpds_redis_load
, and then tried to change a leaf withsysrepo-cli
. Aftercommit
, I saw functionsrpds_redis_load
was called. This was good.But the parameter
xpaths
was NULL, andxpath_count
was 0. Here is the call stack:My concern is: the data change only happens on a single leaf, does sysrepo really have to reload all the data in this module? Is it possible to only load necessary data?
The text was updated successfully, but these errors were encountered: