[SERVER-57514] Modernize shell's benchRun() implementation so that it uses OP_MSG protocol Created: 08/Jun/21  Updated: 29/Oct/23  Resolved: 17/Jun/21

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

Type: Task Priority: Major - P3
Reporter: Yoon Soo Kim Assignee: Yoon Soo Kim
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Query Execution 2021-06-14, Query Execution 2021-06-28
Participants:
Linked BF Score: 0

 Description   

There are several test suites which are using benchRun() for correctness testing. For example, jstests/core/bench_test1.js. And benchRun() implementation is using legacy op codes and getLastError() command.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 17/Jun/21 ]

Author:

{'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}

Message: SERVER-57514 Have shell's benchRun() use OP_MSG protocol and not use getLastError
Branch: master
https://github.com/mongodb/mongo/commit/d8484ccdb02cc9c13784385413722b5d00268081

Comment by Githook User [ 15/Jun/21 ]

Author:

{'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}

Message: Revert "SERVER-57514 Have shell's benchRun() use OP_MSG protocol and not use getLastError"

This reverts commit c5f2f0a4e334adec55a2d5aa110903ac1892afd7.
Branch: master
https://github.com/mongodb/mongo/commit/80fad147597bf47f77980ced8f3dbbc937d95435

Comment by Githook User [ 12/Jun/21 ]

Author:

{'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}

Message: SERVER-57514 Have shell's benchRun() use OP_MSG protocol and not use getLastError
Branch: master
https://github.com/mongodb/mongo/commit/2768015fd69bcd8a6f584cd3fa10d05f609ff06b

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