I have tried to come up with a simple reproducible scenario. But so far, I am not able to do so. It seems to me that this issue is related to the writes which are still in memory. Any pointers to why that might be problematic while using an iterator? Do the keys have to be monotonically increasing?