You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by liming01 <gi...@git.apache.org> on 2016/11/14 08:25:40 UTC

[GitHub] incubator-hawq pull request #1011: HAWQ-1149. Fixed bug gp_persistent_build_...

GitHub user liming01 opened a pull request:

    https://github.com/apache/incubator-hawq/pull/1011

    HAWQ-1149. Fixed bug gp_persistent_build_all loses data in gp_relfile\u2026

    \u2026_node&gp_persistent_relfile_node
    
    Internally there are 3 bugs:
    1) hawq2.0 changed the file path of relation file on hdfs from filespace/db/relfile.filenum to filespace/db/table/relfile/filenum. When we scan relfile on hdfs, we should change scan logic correspondingly.
    2) Fetched dummy persistentTid & persistentSerialNum to PersistentRelation_MarkCreatePending() .
    3) Need to reset Relation->rd_relationnodeinfo.isPresent, so that next time persistentid and serial# can be refetched during PersistentBuild_BuildDb().

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/liming01/incubator-hawq mli/rebuild_persistentTable

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/1011.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1011
    
----
commit 932dc1e46a7e82408d02f9e06b7715e756472102
Author: Ming LI <ml...@apache.org>
Date:   2016-11-14T08:21:46Z

    HAWQ-1149. Fixed bug gp_persistent_build_all loses data in gp_relfile_node&gp_persistent_relfile_node
    
    Internally there are 3 bugs:
    1) hawq2.0 changed the file path of relation file on hdfs from filespace/db/relfile.filenum to filespace/db/table/relfile/filenum. When we scan relfile on hdfs, we should change scan logic correspondingly.
    2) Fetched dummy persistentTid & persistentSerialNum to PersistentRelation_MarkCreatePending() .
    3) Need to reset Relation->rd_relationnodeinfo.isPresent, so that next time persistentid and serial# can be refetched during PersistentBuild_BuildDb().

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-hawq pull request #1011: HAWQ-1149. Fixed bug gp_persistent_build_...

Posted by liming01 <gi...@git.apache.org>.
Github user liming01 closed the pull request at:

    https://github.com/apache/incubator-hawq/pull/1011


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---