[SERVER-6809] splitVector doesn't filter additional index fields when shard key is prefix of index Created: 20/Aug/12  Updated: 11/Jul/16  Resolved: 22/Aug/12

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.2.0-rc1
Fix Version/s: 2.2.0-rc2, 2.3.0

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Kevin Matulef
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File drop_with_diff_key.js    
Issue Links:
Depends
is depended on by SERVER-6790 '[Balancer] Assertion: 13141:Chunk ma... Closed
Related
related to SERVER-1506 when sharding on a and need an index ... Closed
is related to SERVER-6811 prefix shard keys index bounds handling Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

In 2.2 we allow sharding when our shard key is a prefix of another index. SplitVector needs to filter out the additional fields when returning.



 Comments   
Comment by auto [ 04/Sep/12 ]

Author:

{u'date': u'2012-08-21T14:19:11-07:00', u'email': u'matulef@10gen.com', u'name': u'Kevin Matulef'}

Message: SERVER-6809 SERVER-6811 cleanup and add prefix sharding tests
Branch: master
https://github.com/mongodb/mongo/commit/814e1526cae18e828c83ab4e6ce40ba8423cd1fe

Comment by auto [ 21/Aug/12 ]

Author:

{u'date': u'2012-08-20T19:01:39-07:00', u'email': u'matulef@10gen.com', u'name': u'Kevin Matulef'}

Message: SERVER-6809 SERVER-6811 fix chunk bounds for prefix shard keys
Branch: v2.2
https://github.com/mongodb/mongo/commit/7ab12c2e100da04aa7fcfe6946e5eae082777209

Comment by auto [ 21/Aug/12 ]

Author:

{u'date': u'2012-08-20T19:01:39-07:00', u'email': u'matulef@10gen.com', u'name': u'Kevin Matulef'}

Message: SERVER-6809 SERVER-6811 fix chunk bounds for prefix shard keys
Branch: master
https://github.com/mongodb/mongo/commit/774853dbd649b346146ad5bacb7127b67679351f

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