Skip to content

Commit ad153a8

Browse files
committed
Merge PR ceph#60325 into main
* refs/pull/60325/head: mds/Beacon: wake up the thread in shutdown() Reviewed-by: Patrick Donnelly <[email protected]> Reviewed-by: Venky Shankar <[email protected]>
2 parents 3829eb6 + 0276ab4 commit ad153a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mds/Beacon.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ void Beacon::shutdown()
6161
std::unique_lock<std::mutex> lock(mutex);
6262
if (!finished) {
6363
finished = true;
64+
cvar.notify_all();
6465
lock.unlock();
6566
if (sender.joinable())
6667
sender.join();

0 commit comments

Comments
 (0)