trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prashanth-vasudev <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request: TRAFODION-1798 This change is it...
Date Wed, 10 Feb 2016 19:01:20 GMT
GitHub user prashanth-vasudev opened a pull request:

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

    TRAFODION-1798 This change is item 2( of 4 items ) listed in jira

    Fixes the following scenario which resulted in a hang.
    Begin work;
    insert into table t  values( 1);
    drop table t;
    commit work;
    
    In this scenario, as part of commit, the drop table t gets hadmin:disabled in prepare
phase followed by hadmin delete in commit phase. However, because there was a insert to table,
commit phase encounters the disabled table. Fix is to detect this exception in the commit
thread and validate against the drop table list maintained in TmDDL log. 

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

    $ git pull https://github.com/prashanth-vasudev/incubator-trafodion TRAFODION-1798

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

    https://github.com/apache/incubator-trafodion/pull/317.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 #317
    
----
commit 7c7f145e4cbd1c7db7836d1cc720dca03a345fd5
Author: Prashant Vasudev <prashanth.vasudev@esgyn.com>
Date:   2016-02-10T18:52:33Z

    TRAFODION-1798 This change is item 2( of 4 items ). Fixes a hang
    situation when inserts and drop on the same table happens in the
    same transaction.

----


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