[CSHARP-2864] MR in Agg: Remove in-line mapReduce execution statistics Created: 04/Dec/19  Updated: 27/Oct/23  Resolved: 27/Jan/20

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Unassigned
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-773 MR in Agg: Remove in-line mapReduce e... Closed

 Description   

See DRIVERS-773 for details.



 Comments   
Comment by Robert Stam [ 20/Jan/20 ]

The C# driver `MapReduceResult` class has the following execution statistics related properties:

 

public TimeSpan Duration
public long EmitCount
public long OutputCount
public long InputCount

Duration is based on the  `timeMillis` field and the other three are based on sub-fields of the `counts` field.

No exception will be thrown if any of these fields are missing from the map reduce result unless one of the properties is reference, in which case the exception is thrown when the attempt is made to access the non-existent data.

Seems like no change is needed in the C# driver for this issue.

Generated at Wed Feb 07 21:43:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.