• B
    [#149699023] Handle interrupts in ORCA to avoid crashes · 17322684
    Bhuvnesh Chaudhary 提交于
    In ORCA, we donot process interrupts during planning stage, however
    if there are elog/ereport (which further calls errfinish) statements to
    print additional messages we prematurely exit out the planning stage
    without cleaning up the memory pools leading to inconsistent memory pool
    state. This results in crashes for the subsequent queries.
    
    This commit fixes the issue by handling interrupts while
    printing messages using elog/ereport in ORCA.
    Signed-off-by: NEkta Khanna <ekhanna@pivotal.io>
    17322684
gpdbwrappers.cpp 38.4 KB