Erlang get_next returns false in erlang for running datastore and valid keyset for candidate datastore

Hi All,

erlang get_next is returning {false, undefined} for running datastore and this is leading cannot_map_to_itself exception but same is returning valid keyset {{28, 2}}, } for candidate datastore and no exception is seen, can someone help understand why this behaviour difference for get_next erlang function?

get_next = fun ec_genet:constant_keyset_get_next/4

failure - [2;dpapi] ec_genet_server:{523,1}:get_next_@ {exit, {ok, {false, undefined}}}
Trace=[{ec_genet_server,convert_path,
[{error,cannot_map_to_itself}],

working - [2;dpapi] ec_genet_server:{523,1}:get_next_@ {exit, {ok, {{{28, 2}}, }}}

HI,

This code is not familiar so we will need more context and ConfD-specific information in order to help.

Best,
Scott

My guess is this is some usage of GitHub - NSO-developer/genet: GENET (Generic Erlang Transform) for NSO and ConfD is a framework for building complex YANG-to-YANG model transformations or similar, and possibly non-up-to-date compatibility of ConfD and the “third party” (quoted, but still, “external” sources to ConfD itself) library/tool.
Original poster may need to add more context/information.

OK, I guess we will have to rely on the community for this one. Anyone with experience with this?

Scott