The maxPasses assertion (triggered on repeated allocation failure from a capped collection) can leave capped collection in non iterable state. In particular
- the capExtent extent can be empty (contain no documents)
- it's possible to have capExtent non null and capFirstNewRecord null, in which case the capped cursors will not work properly
Should also investigate when the maxPasses assertion can be triggered.