Project

General

Profile

Feature #23042

Prompt ServiceMap removal on clean shutdown

Added by John Spray about 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
MgrClient
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

We should have MgrClient explicitly send a message on shutdown, so that DaemonServer can immediately remove it from ServiceMap, rather than waiting for a timeout.

This is especially important for services that use a different name every time, so on a restart they cannot automatically remove the old instance of themselves.

History

#1 Updated by John Spray about 6 years ago

Similar thing in MDS: mds/Beacon.cc:void Beacon::send_and_wait(const double duration)

#2 Updated by John Spray about 6 years ago

  • Status changed from New to Fix Under Review

#3 Updated by John Spray over 5 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF