[SERVER-29240] Add test to ensure valid index creation for capped collections that roll over during initial sync Created: 16/May/17  Updated: 30/Oct/23  Resolved: 05/Jun/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.7, 3.5.9

Type: Bug Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: William Schultz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-29197 Dangling index records when initial s... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Sprint: Repl 2017-05-29, Repl 2017-06-19
Participants:

 Description   

When doing an initial sync of a capped collection, due to the way indexes are built on the receiving node, there is potential for corruption of index data, as described in SERVER-29197. A test is needed to reproduce this case and once SERVER-29197 is resolved, verify that it fixed the issue in question.



 Comments   
Comment by Githook User [ 29/Jun/17 ]

Author:

{u'username': u'will62794', u'name': u'William Schultz', u'email': u'william.schultz@mongodb.com'}

Message: SERVER-29240 Require 3.4 initial sync for initial_sync_capped_index.js test
Branch: v3.4
https://github.com/mongodb/mongo/commit/b62fbc2a3fe1ed9f1df55bf579e36128e849331b

Comment by William Schultz (Inactive) [ 29/Jun/17 ]

The bug addressed in SERVER-29197 only applies to versions 3.4 and later, so this test does should not run against 3.2 initial sync logic.

Comment by Githook User [ 14/Jun/17 ]

Author:

{u'username': u'will62794', u'name': u'William Schultz', u'email': u'william.schultz@mongodb.com'}

Message: SERVER-29240 Add test to ensure valid index creation for capped collections during
initial sync

(cherry picked from commit 2daa02b7294412f2d5f2b7f224ef94f290f12f12)
Branch: v3.4
https://github.com/mongodb/mongo/commit/06d23a1215d33f3e2262a5a17d458e94ba563576

Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'will62794', u'name': u'William Schultz', u'email': u'william.schultz@mongodb.com'}

Message: SERVER-29240 Add test to ensure valid index creation for capped collections during
initial sync
Branch: master
https://github.com/mongodb/mongo/commit/2daa02b7294412f2d5f2b7f224ef94f290f12f12

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