You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by ml...@apache.org on 2015/12/29 04:44:43 UTC
[2/2] incubator-hawq git commit: HAWQ-219. Rebuild
gp_persistent_relation_node when calling gp_persistent_build_all()
HAWQ-219. Rebuild gp_persistent_relation_node when calling gp_persistent_build_all()
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/b015b0fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/b015b0fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/b015b0fc
Branch: refs/heads/master
Commit: b015b0fc25b3b82391bf08050e7396b14349337c
Parents: b9dc5a6
Author: Ming LI <ml...@pivotal.io>
Authored: Tue Dec 29 11:18:22 2015 +0800
Committer: Ming LI <ml...@pivotal.io>
Committed: Tue Dec 29 11:43:41 2015 +0800
----------------------------------------------------------------------
src/backend/cdb/cdbpersistentbuild.c | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b015b0fc/src/backend/cdb/cdbpersistentbuild.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbpersistentbuild.c b/src/backend/cdb/cdbpersistentbuild.c
index 25fe38a..0033769 100644
--- a/src/backend/cdb/cdbpersistentbuild.c
+++ b/src/backend/cdb/cdbpersistentbuild.c
@@ -303,6 +303,13 @@ static void PersistentBuild_PopulateGpRelationNode(
dbInfoRel->relname);
}*/
+ //rebuild gp_persistent_relation_node for AO tables
+ PersistentRelation_AddCreated(
+ &relFileNode,
+ &persistentTid,
+ &persistentSerialNum,
+ false);
+
/*
* Merge physical file existence and ao[cs]seg catalog logical EOFs .
*/