I have the following view
function(doc) {
if (doc.type === 'account') {
emit(doc.user_id, null);
}
Occasionally I get multiple docs in the view with the same document id (but different version). It only seems to happen in android. If I rebuild my views (in order to force it to re-index) the problem goes away. I’ve asked about this before but I think my post got deleted, not sure why.