Server shutdown delay when LDS local registration is enabled but LDS not present #2422
Closed
1 of 5 tasks
Labels
bug
A bug was identified and should be fixed.
Type of issue
Current Behavior
When the m_maxRegistrationInterval property is set to a non-zero value the stack code attempts to register with a local discovery server on shutdown of the internal server (see StandardServer.cs, line 3082). The method call on this line is RegisterWithDiscoveryServer.
If an LDS is not running on the host when the server is shutdown the RegisterWithDiscoveryServer method will block for approximately 21 seconds before the server completes the shutdown.
Expected Behavior
If an LDS is not running on the host when the server is shutdown and the RegisterWithDiscoveryServer method is commented out the server completes the shutdown in approximately 4 seconds.
The RegisterWithDiscoveryServer method should not block the server from shutting down when there isn't an LDS running on the host.
Steps To Reproduce
Environment
Anything else?
Technical Notes:
The text was updated successfully, but these errors were encountered: