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

ThreadRestrictions assertin failure when shutting down client

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon

            Dates

              Created:
              Updated:

              Slack

                Issue deployment