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

Fix MetadataGetTableReadLockIT flapper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.2.1, 5.3.0
    • None
    • None

    Description

      MetadataGetTableReadLockIT.
      testBlockedReadDoesNotBlockAnotherRead creates 2 threads. First thread takes a read lock while performing a query and sleeps for a duration. Second thread also performs a query. The test verifies that the second thread was not blocked i.e. it finishes quicker than the first thread's sleep duration. The test setup removes MetaDataEndpointImpl coproc and loads an extension of it which can be configured to sleep after acquiring a lock. 

      Currently, the test class is annotated with ParallelStatsDisabledTest which means other tests can interfere with the coproc loaded on SYSTEM.CATALOG. We can annotate it with 
      NeedsOwnMiniClusterTest.

      Attachments

        Activity

          People

            palashc Palash Chauhan
            palashc Palash Chauhan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: