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

    • Type: Test
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.15.1, 5.1.1, 4.16.1
    • Component/s: 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

          Issue Links

            Activity

              People

              • Assignee:
                sandeep.pal Sandeep Pal
                Reporter:
                apurtell Andrew Kyle Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: