resource manager outputs uninitialized string as host name
@@ -4697,10 +4697,10 @@ void adjustSegmentStatGRMCapacity(SegStat segstat)
if ( oldmemorymb != segstat->GRMTotalMemoryMB ||
oldcore != segstat->GRMTotalCore )
{
- elog(LOG, "Resource manager adjusts segment %s original global resource "
- "manager resource capacity from (%d MB, %d CORE) to "
- "(%d MB, %d CORE)",
- GET_SEGINFO_HOSTNAME(&(segstat->Info)),
+ elog(LOG, "resource manager adjusts segment %s resource capacity "
+ "from (%d MB, %d CORE) to (%d MB, %d CORE) from the "
+ "cluster report of global resource manager",
+ GET_SEGINFO_GRMHOSTNAME(&(segstat->Info)),
oldmemorymb,
oldcore,
segstat->GRMTotalMemoryMB,
