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

ThreadRestrictions assertin failure when shutting down client

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: Private Beta
    • Fix Version/s: None
    • Component/s: client
    • Labels:
      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

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: