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

Master assumes tserver lost lock when it fails to get lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4.0
    • None
    • master
    • None

    Description

      There is code in the master like the following.

        if (!lock.isLocked() && !watcher.gotLock && watcher.failureException == null) {
           //assume tserver there
      }else{
           //assume tserver lost lock
      }
      

      In the else the master assumes it got the tserver lock and therefore the tserver lost its lock. But the else could execute when the master failed to get a lock. This may cause the master to kill tablet server when there is no reason to.

      Attachments

        Issue Links

          Activity

            People

              ecn Eric C. Newton
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: