[SERVER-35365] MapReduce temporary inc collections should be written to the local database Created: 01/Jun/18  Updated: 29/Oct/23  Resolved: 07/Jun/18

Status: Closed
Project: Core Server
Component/s: MapReduce, Querying
Affects Version/s: None
Fix Version/s: 4.0.0-rc5, 4.1.1

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Justin Seyster
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-35282 Reading from unreplicated collections... Closed
is depended on by SERVER-35498 Unblacklist mapReduce tests from the ... Closed
Related
related to SERVER-27147 Do not initial sync data written with... Closed
related to SERVER-35367 Hold locks in fewer callers of waitFo... Closed
related to SERVER-37988 recover locks on step up at the begin... Closed
is related to SERVER-38480 Make Map-Reduce fully interruptible Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Query 2018-06-18
Participants:

 Description   

mapReduce does unreplicated writes to 'inc' collections, but there's nothing to mark that collection as unreplicated. It's a valid namespace that a user could also create a collection on and use. Putting those collections in the local database would make it clear that they are not user collections and should not be replicated.



 Comments   
Comment by Githook User [ 08/Jun/18 ]

Author:

{'username': 'jseyster', 'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com'}

Message: SERVER-35365 MapReduce should write "inc" collections to "local" db.

(cherry picked from commit 30ac39448a0c83bb12fd4d0fa537e8292be20d08)
Branch: v4.0
https://github.com/mongodb/mongo/commit/73798323b769485ae18a4515c5f5a2cf035d7605

Comment by Githook User [ 07/Jun/18 ]

Author:

{'username': 'jseyster', 'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com'}

Message: SERVER-35365 MapReduce should write "inc" collections to "local" db.
Branch: master
https://github.com/mongodb/mongo/commit/30ac39448a0c83bb12fd4d0fa537e8292be20d08

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