[SERVER-78258] Implement profiling for bulkWrite command Created: 20/Jun/23  Updated: 29/Oct/23  Resolved: 31/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Kaitlin Mahar Assignee: Wenbin Zhu
Resolution: Fixed Votes: 0
Labels: auto-reverted, milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-08-07, Repl 2023-08-21, Repl 2023-09-04
Participants:
Linked BF Score: 166

 Description   

When adding a bulkWrite test case to jstests/sharding/read_write_concern_defaults_application.js as added in SERVER-45693 I found that I could not test bulkWrite via profiler output.

We should figure out what the desired profiler behavior is for the command and see if we need to make any changes.

SERVER-23266 discusses the inconsistent state of profiling for other batch write commands (as of 2016 anyway).



 Comments   
Comment by Githook User [ 31/Aug/23 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-78258 Implement profiling for bulkWrite command.
Branch: master
https://github.com/mongodb/mongo/commit/63fec32c7c1470113e3805bfcad17c1ff27f91ef

Comment by Githook User [ 30/Aug/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-78258 Implement profiling for bulkWrite command."

This reverts commit 74d906fbd25cfdb228e6c497e4669b6b48406ed4.
Branch: master
https://github.com/mongodb/mongo/commit/9af551a12788836fb6e4f6f57ea80f9b6b74c3f6

Comment by xgen-buildbaron-user [ 30/Aug/23 ]

Ticket re-opened due to revert. clustered_collection_passthrough began a consistent failure of jstests/core/write/bulk/bulk_write_profile.js

Comment by Githook User [ 30/Aug/23 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-78258 Implement profiling for bulkWrite command.
Branch: master
https://github.com/mongodb/mongo/commit/74d906fbd25cfdb228e6c497e4669b6b48406ed4

Generated at Thu Feb 08 06:37:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.