Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-956

ThreadRestrictions assertin failure when shutting down client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • Private Beta
    • None
    • client
    • None

    Description

      The KuduClient object is reference counted, and sometimes the last reference is held by an in-flight batch RPC. Thus, when the RPC finishes, the client shuts down, which tries to shut down its DnsResolver, which ends up waiting on a condition variable. This fires a ThreadRestrictions assertion failure. This causes flakiness in some tests (eg DeleteTableTest.TestDeleteTableWithConcurrentWrites)

      Attachments

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: