Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6198

Sometimes we synchronize on RegionState instance updating it, most of the time we don't. Fix

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We synchronize on region state doing single assign of a region but then over in the handleRegion zk callback, we don't synchronize on the regionstate instance. Makes no sense. Either get rid of all synchronization or put synchronization everywhere (we should probably do the latter since it makes things easier to reason about, and these states are already complicated. There could be a performance issue though).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stack stack
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: