c++ rhel confd cdb_get returns elements in a weird order

121 views Asked by At

encountring a weird issue with confd. Items are indexed by uint key - when i use configuration with 9 items or lower, everything is ok - cdb_get with index 1 returns the first item, index two the seconds and so on.

When i add the 10th item - the 1st item I query i get the correct one ( 1 id ) but when i query for the second item i'll get the 10th item ( like they are sorted in a "stringy" manner, and not int although they are declared as uint in yang schema ).

Struggling with this for few days, does anyone have an idea how to correct the return order? Thanks

0

There are 0 answers