If you add two compound indexes {a:1,_id:1} and {a:1,_id:-1}, they will overwrite each other.