hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcaragea <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-544. Fixed assertion failure in ...
Date Tue, 15 Mar 2016 20:46:25 GMT
GitHub user gcaragea opened a pull request:

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

    HAWQ-544. Fixed assertion failure in AdvanceMemoryAccountingGeneration

    Fixed assertion failure in AdvanceMemoryAccountingGeneration when we have a generation
overflow
    
    In function AdvanceMemoryAccountingGeneration, we first assign "RolloverMemoryAccount->peak
= Max(RolloverMemoryAccount->peak, MemoryAccountingPeakBalance);", then we call elog if
there is a generation overflow. Then we assert "Assert(RolloverMemoryAccount->peak >=
MemoryAccountingPeakBalance);".
    
    If elog allocates additional memory, then this causes the assertion to fail.
    
    
    Signed-off-by: George Caragea <caragea.work@gmail.com>

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

    $ git pull https://github.com/gcaragea/incubator-hawq gcaragea-accounting-assert

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

    https://github.com/apache/incubator-hawq/pull/454.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 #454
    
----
commit 4bdd246a01584ab9a916036153b3e64e99cd153a
Author: Foyzur Rahman <foyzur@gmail.com>
Date:   2016-03-15T19:19:44Z

    HAWQ-544. Fixed assertion failure in AdvanceMemoryAccountingGeneration when we have a
generation overflow
    
    Signed-off-by: George Caragea <caragea.work@gmail.com>

----


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