Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14032 [libhdfs++] Phase 2 improvements
  3. HDFS-9562

libhdfs++ RpcConnectionImpl::Connect should acquire connection state lock

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • hdfs-client
    • None

    Description

      RpcConnectionImpl::Connect calls pending_requests_.push_back() without holding the connection_state_lock_. This isn't a huge issue at the moment because Connect generally shouldn't be called on the same instance from many threads but it wouldn't hurt to add to prevent future confusion.

      Attachments

        Activity

          People

            Unassigned Unassigned
            James Clampffer James Clampffer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: