[SERVER-26849] Should join balancer thread on shutdown Created: 31/Oct/16  Updated: 05/Apr/17  Resolved: 01/Dec/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.4.1, 3.5.1

Type: Bug Priority: Minor - P4
Reporter: Geert Bosch Assignee: Dianna Hohensee (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: Sharding 2016-11-21, Sharding 2016-12-12
Participants:
Linked BF Score: 0

 Description   

On shutdown, the balancer starts an interruptAndDisableMigrations thread to interrupt and drain active migrations, but we never rejoin the thread on shutdown and thus never ensure that migrations have been interrupted and drained.



 Comments   
Comment by Githook User [ 01/Dec/16 ]

Author:

{u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}

Message: SERVER-26849 wait for balancer thread to terminate before finishing shutdown

(cherry picked from commit a80723362643fb8a3ee0a3eb3f118f35dcac49ea)
Branch: v3.4
https://github.com/mongodb/mongo/commit/ee64e4fa00f59fe83522772244ebcf773158d7a4

Comment by Githook User [ 01/Dec/16 ]

Author:

{u'username': u'DiannaHohensee', u'name': u'Dianna Hohensee', u'email': u'dianna.hohensee@10gen.com'}

Message: SERVER-26849 wait for balancer thread to terminate before finishing shutdown
Branch: master
https://github.com/mongodb/mongo/commit/a80723362643fb8a3ee0a3eb3f118f35dcac49ea

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