Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2436

Add WRONG_SERVER_UUID for master server matrix

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      KUDU-2364 and KUDU-2426 added a WRONG_SERVER_UUID status for tablet servers where the UUID doesn't match the expected one (i.e a new tablet server was created on an existing bind address). This should be added for masters as well.

      This is trickier for masters as the tablet server's UUIDs are known ahead of time from a central authority (leader masters). We do not have authoritative uuids for the masters, just the addresses from the command line. The test that comes to mind is that if a leader master expected UUID A but the master reports UUID B, it's an imposter. We can't do that check in FetchInfo. We also can't do it if there's no leader master.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              abukor Attila Bukor
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: