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

Add a test case for accidental addition, removal and the re-addition of a master

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • master, test
    • None

    Description

      Quoting aserbin from code review for remove master CLI
      https://gerrit.cloudera.org/c/17010/9/src/kudu/master/dynamic_multi_master-test.cc#1202

      Not sure I missed a test I was looking for, but what do you think about adding a test for a use case when first a new master is added mistakenly (say, using a valid, but not intended host), and then rolling back such a change, targeting to run 'kudu add master' again with correct destination node?

      That's about having a sequence of 'kudu master add <master_rpc_addresses> <new_master_mistaken_address>', immediately followed by 'kudu master remove <master_rpc_addresses> <new_master_mistaken_address>'?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bankim Bankim Bhavsar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: