Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3351

duplicated slave id in master after master failover

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.25.0
    • master
    • Mac OS (Darwin da-macbookair.cn.ibm.com 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64)

    • Patch

    Description

      When a slave register to master, master will generate a slave ID for it by masterInfo.id + "-S" + nextSlaveId (in master.cpp) to avoid duplicate slaveId. But if master failover, nextSlaveId was reset to 0 which may trigger duplicated slaveId between old slave & new slave.

      For now, it's only reproduced in Mac OS unstably, and can NOT reproduce in Ubuntu; not sure the other OS.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            klaus1982 Klaus Ma
            klaus1982 Klaus Ma
            Vinod Kone Vinod Kone
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment