Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change log severity in DiscoveryServer first announcement [11777] #2007

Merged
merged 1 commit into from
Jun 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,12 @@ void PDPServer::announceParticipantState(
change = discovery_db().cache_change_own_participant();
if (nullptr == change)
{
logError(RTPS_PDP_SERVER, "DiscoveryDatabase uninitialized with local DATA(p) on announcement");
// This case is when the local Server DATA(P) has been included already in database by update method
// but the routine thread has not consumed it yet.
// This would happen when the routine thread is busy in initializing, i.e. it already has other
// DATA(P) to parse before the own one is inserted by update.
logWarning(RTPS_PDP_SERVER, "Local Server DATA(p) uninitialized before local on announcement. "
<< "It will be sent in next announce iteration.");
return;
}
}
Expand Down