You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by hu...@apache.org on 2016/02/19 03:31:22 UTC
incubator-hawq git commit: HAWQ-419. Failed to
MemoryAccounting_SaveToLog in resource negotiator.
Repository: incubator-hawq
Updated Branches:
refs/heads/master 0617aa214 -> d2d4ae84c
HAWQ-419. Failed to MemoryAccounting_SaveToLog in resource negotiator.
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/d2d4ae84
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/d2d4ae84
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/d2d4ae84
Branch: refs/heads/master
Commit: d2d4ae84c1bac55c6b557cb6bc72b9e16f84b8a2
Parents: 0617aa2
Author: hubertzhang <hz...@pivotal.io>
Authored: Thu Feb 18 17:29:52 2016 +0800
Committer: hubertzhang <hz...@pivotal.io>
Committed: Fri Feb 19 10:30:14 2016 +0800
----------------------------------------------------------------------
src/backend/utils/mmgr/memaccounting.c | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d2d4ae84/src/backend/utils/mmgr/memaccounting.c
----------------------------------------------------------------------
diff --git a/src/backend/utils/mmgr/memaccounting.c b/src/backend/utils/mmgr/memaccounting.c
index f5dccc5..b17f2a9 100644
--- a/src/backend/utils/mmgr/memaccounting.c
+++ b/src/backend/utils/mmgr/memaccounting.c
@@ -420,7 +420,10 @@ MemoryAccounting_GetAccountName(MemoryAccount *memoryAccount)
return "X_BitmapTableScan";
case MEMORY_OWNER_TYPE_Exec_PartitionSelector:
return "X_PartitionSelector";
+ case MEMORY_OWNER_TYPE_Resource_Negotiator:
+ return "X_ResourceNegotiator";
default:
+ elog(LOG,"missing account ownerType number is %d",memoryAccount->ownerType);
Assert(false);
break;
}