Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1656

Remove block_mgr_client_ != NULL checks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.1
    • Impala 2.5.0
    • None

    Description

      In various places in BE's code there are checks like the one below that use the block_mgr_ only if this is set. This is because some tests do not setup the whole ExecEnv. But that adds complexity and branches. We should remove them, making sure that all tests have a properly setup environment (and DCHECK_NOTNULL(block_mgr_client_)).

        if (block_mgr_client_ != NULL) {
          state_->block_mgr()->ReleaseMemory(block_mgr_client_, old_size);
        }
      

      Attachments

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              ippokratis Ippokratis Pandis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: