| 1262 | new ScanReturnedContext(ref(new BsonContext(proj, false)), firstDoc->scanId(), firstDoc->scanKey()))); |
| 1263 | throw end_of_stream(); |
| 1264 | } catch (Error& e) { |
| 1265 | DocumentLayer::metricReporter->captureHistogram(DocLayerConstants::MT_HIST_TR_PER_REQUEST, nTransactions); |
| 1266 | innerCheckpoint->stop(); |
| 1267 | output.sendError(e); |
| 1268 | throw; |
| 1269 | } |
| 1270 | } |
| 1271 | |
| 1272 | FutureStream<Reference<ScanReturnedContext>> FindAndModifyPlan::execute(PlanCheckpoint* checkpoint, |
no test coverage detected