[SERVER-619] failures when saving new documents during background creation of unique index Created: 09/Feb/10  Updated: 12/Jul/16  Resolved: 11/Feb/10

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 1.3.2

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Dwight Merriman
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-606 unit tests for background indexing Closed
Participants:

 Description   

When creating a unique index in the background, duplicate values saved during index creation may persist in the final index.
In addition, when dropDups is specified, too many documents may be dropped.

Tests in index12.js (soon to be checked in).



 Comments   
Comment by auto [ 11/Feb/10 ]

Author:

{'login': 'dwight', 'name': 'Dwight', 'email': 'dmerriman@gmail.com'}

Message: SERVER-619 background indexing fix
http://github.com/mongodb/mongo/commit/0ae466d158e090f88500749b05acf62d4deea695

Comment by Aaron Staple [ 09/Feb/10 ]

Let me know if I should investigate and fix...

Comment by auto [ 09/Feb/10 ]

Author:

{'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}

Message: SERVER-606 SERVER-619 tests for background creation of unique indexes
http://github.com/mongodb/mongo/commit/c4fce33450a5b54b860652525bd9d3273737839f

Comment by Aaron Staple [ 09/Feb/10 ]

The failing lines of index12.js are commented out. They only fail some of the time.

Generated at Thu Feb 08 02:54:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.