Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1049

Master does not need to get tserver lock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.3, 1.5.0
    • master
    • None

    Description

      Every tserver has a lock in zookeeper. The master tries to get this lock and when it does it assumes the tserver is dead. It seems like this may no longer be necessary since changes made in 1.3. The master used to only keep track of ip and port to identify a tablet server. It needed to know when it got the lock to detect the difference between two tablet server instances at the same ip and port.

      Since 1.3 the master keeps distinctive info about a tablet server now and can detect the difference between tablet server instances. Making the master just monitor the current tablet server locks instead of trying to get the lock would simplify the master code.

      Attachments

        Issue Links

          Activity

            People

              kturner Keith Turner
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: