Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5296

Ensure store file reader refcount is zero at end of relevant unit tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0, 4.16.0
    • None

    Description

      Unit and integration tests for functional areas where the implementation wraps scanners and uses a delegate pattern should check at the end of the test that no scanners were leaked (check that all scanners including the inner scanners were properly closed) by testing that the store reader reference count is zero on all stores.

      HBASE-22459 will offer a new metric and API which exposes this information.

      Attachments

        1. PHOENIX-5296.4.x.000.patch
          216 kB
          Viraj Jasani
        2. PHOENIX-5296.master.000.patch
          227 kB
          Viraj Jasani
        3. PHOENIX-5296.master.000.patch
          227 kB
          Viraj Jasani

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: