[SERVER-44084] reimplement opCode detection inside mr_killop.js for new mapReduce implementation Created: 17/Oct/19  Updated: 27/Oct/23  Resolved: 04/Nov/19

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Jacob Evans Assignee: Mihai Andrei
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 SERVER-42677 M/R Agg: Remove old mongos MR code Closed
Sprint: Query 2019-11-18
Participants:

 Description   

The new implementation of mapReduce will appear completely differently to the old one when it comes to looking up an opCode. We should rewrite the opCode() function in mr_killop.js as we switch to the new implementation.



 Comments   
Comment by Mihai Andrei [ 04/Nov/19 ]

This appears to be a non-issue as running mr_killop.js with internalQueryUseAggMapReduce: true still works as is. I did some digging and it appears that you can still look for mapReduce commands in the same way as before (intuitively this makes sense: the mapReduce command is issued in the same way as before, even though it eventually gets translated).

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