Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-55

System admin cannot set optimizer_release_mdcache (OFF) when gp_metadata_versioning is (OFF)

    XMLWordPrintableJSON

Details

    Description

      As a system admin, I should not be able to set optimizer_release_mdcache (OFF) when gp_metadata_versioning is (OFF) so that I cannot get into a incorrect state with unexpected behavior from the host system.

      Acceptance Criteria
      GIVEN I am a system
      AND gp_metadata_versioning is OFF
      WHEN I try to set optimizer_release_mdcache (OFF)
      THEN I should see a warning message stating that if optimizer_release_mdcache is to be turned OFF, set gp_metadata_versioning should be turned ON

      Context
      Default:
      optimizer_release_mdcache (ON)
      gp_metadata_versioning (OFF)

      Bad state: We don't want the user to be able to do this
      optimizer_release_mdcache (OFF)
      gp_metadata_versioning (OFF)

      If a user turns optimizer_release_mdcache (OFF), then gp_metadata_versioning should be turned (ON). Otherwise, the optimizer can end up using stale data in the metadata cache, generating unexpected behavior.

      Attachments

        Activity

          People

            gcaragea George Caragea
            gcaragea George Caragea
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: