trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selvaganesang <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request #550: [TRAFODION-2074] Create index should ...
Date Fri, 17 Jun 2016 22:49:10 GMT
GitHub user selvaganesang opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/550

    [TRAFODION-2074] Create index should avoid populating the index withi…

    …n a transaction
    
    Create index is now done in multiple transactions when there is no
    active transaction.
    1) creating the index table in transaction 1.
    2) populate the index without any transaction. If it fails,
       cleanup the index table.
    3) If it succeeds complete the rest of the index creation in transaction 2.
    4) If there are any failures, cleanup the index table.
    
    When there is an active transaction while the create index is issued, then
    all the above steps are done within the user transaction.
    
    Also did some cleanup to return proper errors instead of dumping core

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

    $ git pull https://github.com/selvaganesang/incubator-trafodion index_issue

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

    https://github.com/apache/incubator-trafodion/pull/550.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 #550
    
----
commit bcdbfbc2e0f2350ca109d8b5947aa80d71c40e28
Author: selvaganesang <selva.govindarajan@esgyn.com>
Date:   2016-06-17T22:11:47Z

    [TRAFODION-2074] Create index should avoid populating the index within a transaction
    Create index is now done in multiple transactions when there is no
    active transaction.
    1) creating the index table in transaction 1.
    2) populate the index without any transaction. If it fails,
       cleanup the index table.
    3) If it succeeds complete the rest of the index creation in transaction 2.
    4) If there are any failures, cleanup the index table.
    
    When there is an active transaction while the create index is issued, then
    all the above steps are done within the user transaction.
    
    Also did some cleanup to return proper errors instead of dumping core

----


---
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.
---

Mime
View raw message