[SERVER-33474] Blacklist restart_catalog.js from suites involving initial sync Created: 23/Feb/18  Updated: 29/Oct/23  Resolved: 26/Feb/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-33632 Make UUID catalog reload atomic Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-03-12
Participants:
Linked BF Score: 0

 Description   

Let's say a server in STARTUP2 is initial syncing from some other node. If something invokes restartCatalog on the sync source, every cursor on every collection is destroyed, as all of the CursorManagers are destructed when the Collection and Database objects go away. This will cause the initial syncing node to encounter CursorNotFound errors, and ultimately will end up with not all of the required data when exiting initial sync. This can manifest as a dbhash mismatch at the end of a test.

We should blacklist restart_catalog.js from any passthrough suite that involves initial sync. However, we should definitely keep it in at least the replica_sets_jscore_passthrough, sharding_jscore_passthrough and sharded_collections_jscore_passthrough, as it tests that various types of replicated/sharded collections survive a catalog restart.



 Comments   
Comment by Githook User [ 17/Apr/18 ]

Author:

{'name': 'Geert Bosch', 'email': 'geert@mongodb.com', 'username': 'GeertBosch'}

Message: Revert "SERVER-33474 blacklist restart_catalog.js from suites involving initial sync"

This reverts commit 67d04f1a286b23ea824bdfb7042462d7da1b515d.

Conflicts:
buildscripts/resmokeconfig/suites/replica_sets_resync_static_jscore_passthrough.yml
Branch: master
https://github.com/mongodb/mongo/commit/e0562dc07a6aaf2993f0236cc443ee9b83b5e522

Comment by Githook User [ 26/Feb/18 ]

Author:

{'email': 'kyle.suarez@mongodb.com', 'name': 'Kyle Suarez', 'username': 'ksuarz'}

Message: SERVER-33474 blacklist restart_catalog.js from suites involving initial sync

If the sync source of an initial syncing node has its catalog restarted,
all its cursors are destroyed. This can cause the initial syncing node
to copy only a subset of the required data.
Branch: master
https://github.com/mongodb/mongo/commit/67d04f1a286b23ea824bdfb7042462d7da1b515d

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