| 1341 | /* FIXME: These don't really belong here*/ |
| 1342 | |
| 1343 | struct ExtOperatorUpdate : ConcreteUpdateOp<ExtOperatorUpdate> { |
| 1344 | bson::BSONObj msgUpdate; |
| 1345 | |
| 1346 | explicit ExtOperatorUpdate(bson::BSONObj const& msgUpdate) : msgUpdate(msgUpdate) {} |
| 1347 | |
| 1348 | Future<Void> update(Reference<IReadWriteContext> document) override { |
| 1349 | return updateDocument(document, msgUpdate, false, document->getKeyEncodedId()); |
| 1350 | } |
| 1351 | |
| 1352 | std::string describe() override { return "OperatorUpdate(" + msgUpdate.toString() + ")"; } |
| 1353 | }; |
| 1354 | |
| 1355 | struct ExtReplaceUpdate : ConcreteUpdateOp<ExtReplaceUpdate> { |
| 1356 | bson::BSONObj replaceWith; |
nothing calls this directly
no outgoing calls
no test coverage detected