void ForwardingCatalogManager::writeConfigServerDirect(const BatchedCommandRequest& request, BatchedCommandResponse* response) { retry([&] { BatchedCommandResponse theResponse; _actual->writeConfigServerDirect(request, &theResponse); theResponse.cloneTo(response); }); }
void ForwardingCatalogManager::writeConfigServerDirect(OperationContext* txn, const BatchedCommandRequest& request, BatchedCommandResponse* response) { retry([&] { BatchedCommandResponse theResponse; _actual->writeConfigServerDirect(txn, request, &theResponse); theResponse.cloneTo(response); return 1; }); }