Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11647

Use Striped<ReadWriteLock> to optimize lock implementation in NodeStateMap

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • SCM
    • None

    Description

      In NodeStateMap, we use a global ReentrantReadWriteLock. We should probably use a finer-grained lock to control concurrent operations, so we try to use Striped<ReadWriteLock> to optimize the lock implementation.

      Attachments

        Activity

          People

            weiming weiming
            weiming weiming
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: