[SERVER-30140] ShardServerCatalogCacheLoader persistence thread does not handle shutdown error and never exits Created: 14/Jul/17  Updated: 30/Oct/23  Resolved: 17/Jul/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.5.11

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2017-07-31
Participants:

 Comments   
Comment by Githook User [ 17/Jul/17 ]

Author:

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

Message: SERVER-30140 fix shutdown and mutex hangs in ShardServerCatalogCacheLoader worker threads
Branch: master
https://github.com/mongodb/mongo/commit/3abfc7a123feaf18004f635180ed37a51350b5b8

Comment by Dianna Hohensee (Inactive) [ 14/Jul/17 ]

hugh.han encountered another bug whilst unit testing SERVER-29979. ShardServerCatalogCacheLoader::_runTasks can attempt to take the class mutex twice and thus hang: https://github.com/mongodb/mongo/blob/27d21e6973867ad99fec0b385ad26458b4b7f1ad/src/mongo/db/s/shard_server_catalog_cache_loader.cpp#L651-L667

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