[SERVER-64184] Track usage of allowDiskUse:true in agg command Created: 03/Mar/22  Updated: 29/Oct/23  Resolved: 22/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.8, 6.0.0-rc0, 4.4.15, 4.2.21

Type: Task Priority: Major - P3
Reporter: Katya Kamenieva Assignee: Alexander Ignatyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-15184 [SERVER] Investigate changes in SERVE... Closed
Related
is related to SERVER-65319 Adjust statistics counters to the new... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.3, v5.2, v5.0, v4.4, v4.2
Sprint: QO 2022-04-04
Participants:

 Description   

Add counter to serverStatus.metrics.commands.aggregate to track when users set allowDiskUse to 'true', e.g.:
...
aggregate:

{ failed: Long("124"), total: Long("411"), allowDiskUseTrue: Long(0) }

,
...



 Comments   
Comment by Githook User [ 27/Apr/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-64184 Add allowDiskUseTrue metric for aggregate command.

(cherry picked from commit 2969036ee519f907a741491fca05abdf0491b198)
Branch: v4.2
https://github.com/mongodb/mongo/commit/a5f97721c7932b9d74e344c06163332e35c0a850

Comment by Githook User [ 27/Apr/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-64184 Add allowDiskUseTrue metric for aggregate command.

(cherry picked from commit 2969036ee519f907a741491fca05abdf0491b198)
Branch: v4.4
https://github.com/mongodb/mongo/commit/dcd58499e169085955b294fb013eebe50b8fe1a5

Comment by Githook User [ 07/Apr/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-64184 Add allowDiskUseTrue metric for aggregate command.

(cherry picked from commit 2969036ee519f907a741491fca05abdf0491b198)
Branch: v5.0
https://github.com/mongodb/mongo/commit/9e89b4e1cb0fede910dc66c2e783b3a10f72277c

Comment by Githook User [ 22/Mar/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-64184 Add allowDiskUseTrue metric for aggregate command.
Branch: master
https://github.com/mongodb/mongo/commit/2969036ee519f907a741491fca05abdf0491b198

Generated at Thu Feb 08 05:59:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.