[SERVER-27611] DatabaseCloner::shutdown() does not shut down CollectionCloner Created: 09/Jan/17  Updated: 05/Apr/17  Resolved: 21/Jan/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.4.1, 3.5.1
Fix Version/s: 3.4.2, 3.5.2

Type: Bug Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-27677 CollectionBulkLoader::_releaseResourc... Closed
depends on SERVER-27678 CollectionCloner should call _finishC... Closed
Related
is related to SERVER-27673 add support to CollectionCloner for s... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Backport Requested:
v3.4
Sprint: Repl 2017-01-23
Participants:
Linked BF Score: 0

 Description   

If the server receives a shutdown request during an initial sync while it is cloning a large collection, it has to wait for the collection clone process to complete before shutting down.



 Comments   
Comment by Githook User [ 22/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-27611 make DatabaseCloner single-use only. If a DatabaseCloner is shut down before startup, calling startup() will fail.

(cherry picked from commit 3b1134f5821dcabf89fa6df25b58a674cd3b6ab9)
Branch: v3.4
https://github.com/mongodb/mongo/commit/b906827224a789741d8397d349a78953a5bcd2a6

Comment by Githook User [ 22/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-27611 DatabaseCloner::shutdown() should shut down CollectionCloner

(cherry picked from commit 921906a20d9f0337fc18f716da8849e00d908f68)
Branch: v3.4
https://github.com/mongodb/mongo/commit/856172578332dac5b5f0dbe0ff0b7bf06dc75072

Comment by Githook User [ 21/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-27611 make DatabaseCloner single-use only. If a DatabaseCloner is shut down before startup, calling startup() will fail.
Branch: master
https://github.com/mongodb/mongo/commit/3b1134f5821dcabf89fa6df25b58a674cd3b6ab9

Comment by Githook User [ 21/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-27611 DatabaseCloner::shutdown() should shut down CollectionCloner
Branch: master
https://github.com/mongodb/mongo/commit/921906a20d9f0337fc18f716da8849e00d908f68

Comment by Githook User [ 12/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: Revert "SERVER-27611 DatabaseCloner::shutdown() should shut down CollectionCloner"

This reverts commit e3cf6a7d9f6e0320c1e23b3d7d935f880d70869f.
Branch: master
https://github.com/mongodb/mongo/commit/c2337e67557991922721de3cda1f22287f44da88

Comment by Githook User [ 12/Jan/17 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-27611 DatabaseCloner::shutdown() should shut down CollectionCloner
Branch: master
https://github.com/mongodb/mongo/commit/e3cf6a7d9f6e0320c1e23b3d7d935f880d70869f

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