# Cdb\_diff\_iterate doesn't call iter() api

**URL:** <https://dmap-community.ductus.global/t/cdb-diff-iterate-doesnt-call-iter-api/3467>\
**Category:** CDB and CDB API\
**Created:** [January 17, 2021, 6:26am UTC](https://dmap-community.ductus.global/t/cdb-diff-iterate-doesnt-call-iter-api/3467 "2021-01-17T06:26:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![padma](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@padma](https://dmap-community.ductus.global/u/padma)\
**Post date:** [January 17, 2021, 6:26am UTC](https://dmap-community.ductus.global/t/cdb-diff-iterate-doesnt-call-iter-api/3467/1 "2021-01-17T06:26:56Z")

</div>

Hi,  
We are using older version of ConfD. I’m seeing issue with cdb\_diff\_iterate.

I have subscription code for an oper variable ‘status’ which has tailf:cdb-oper;, And is part of a list and key is of type type inet:host;(string)

When cdb\_start\_session2 is called with lock for this oper variable, i do see that the subscription code is called but the iter() in cdb\_diff\_iterate is not invoked. Is there a known issue with oper variable indexed by ‘string’ and cdb\_diff\_iterate, in older version of ConfD.

What might be the reason for not calling iter() api?  
Thanks,  
Padma

---

<div class="post-metadata">

**Author:** ![mvf](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/mvf/32/182_2.png) [@mvf](https://dmap-community.ductus.global/u/mvf)\
**Post date:** [January 18, 2021, 1:27pm UTC](https://dmap-community.ductus.global/t/cdb-diff-iterate-doesnt-call-iter-api/3467/2 "2021-01-18T13:27:54Z")

</div>

This should work, ConfD releases 6.7 and newer contain example showing exactly this, do you have it? In either case, it should work in older releases too, I believe.
