GitHub user zellerh opened a pull request:

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

    TRAFODION-40 Make index-maintenance delete conditional

    This fixes the issue where we update an indexed column to itself, and
    the index maintenance tree both deletes and re-inserts the index row
    within the same millisecond. This makes the index row disappear, as the
    delete takes precedence over the insert, even though it happened earlier.
    
    As a side-effect, index maintenance may get faster, because we are
    also replacing the CheckAndPut of the index insert with a Put.
    We could further improve this by processing multiple Puts together.

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

    $ git pull https://github.com/zellerh/incubator-trafodion bug/udf1

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

    https://github.com/apache/incubator-trafodion/pull/34.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 #34
    
----
commit 7801e6a200ebef7b0794d4749c38b73c14b28be6
Author: Hans Zeller <[email protected]>
Date:   2015-07-29T16:06:06Z

    TRAFODION-40 Make index-maintenance delete conditional
    
    This fixes the issue where we update an indexed column to itself, and
    the index maintenance tree both deletes and re-inserts the index row
    within the same millisecond. This makes the index row disappear, as the
    delete takes precedence over the insert, even though it happened earlier.
    
    As a side-effect, index maintenance may get faster, because we are
    also replacing the CheckAndPut of the index insert with a Put.
    We could further improve this by processing multiple Puts together.

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to