[SERVER-6598] collection level userFlags not carried over across shards Created: 25/Jul/12  Updated: 11/Jul/16  Resolved: 29/Jul/12

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 2.2.0-rc0
Fix Version/s: 2.2.0-rc1

Type: Bug Priority: Major - P3
Reporter: Kevin Matulef Assignee: siddharth.singh@10gen.com
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File user_flags_sharded.js    
Issue Links:
Related
related to SERVER-5046 per collection option to pad to power... Closed
is related to SERVER-6445 collMod command unusable on sharded c... Closed
Operating System: ALL
Participants:

 Description   

If a userFlag is set on a non-sharded collection, then brought into a sharded cluster, the flag is not carried over to the other shards. Attaching a js test that illustrates this with the usePowerOf2Sizes flag.



 Comments   
Comment by auto [ 29/Jul/12 ]

Author:

{u'date': u'2012-07-26T15:03:28-07:00', u'email': u'singhsiddharth@gmail.com', u'name': u'Siddharth Singh'}

Message: SERVER-6598 carry userFlags over across shards

Create collection with full config if doesn't already exist. This is
useful when a userFlag is set on a non-sharded collection, then brought
into a sharded cluster.
Branch: master
https://github.com/mongodb/mongo/commit/f577ac69a7505a4b2d704a8044829258e8f2388b

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