Details
-
Task
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Storage Execution
Description
I think I found another issue with timeseries metrics:
metricChecker.checkMetricsWithRetries(
|
"Update with retry and the shard key in the filter",
|
[{update: 0, filter: {timestamp: key4}, updateMods: {$set: {x: 4}}}],
|
{update: collName, updates: [{q: {timestamp: key4}, u: {$set: {x: 4}}}]},
|
{updated: 1, updateCount: 1, updateShardField: "oneShard"},
|
session.getSessionId(),
|
NumberLong(13));
|
This test increases serverStatus.opcounters.update by 2* the retry count with or without bulkWrite. A single document was matched.
The test is bulk_write_metrics_single_shard.js.