Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1860

Add ratis-shell cmd to generate a new raft-meta.conf.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • shell
    • None

    Description

      There are ip in the ratis conf and ratis log files, so it can not be moved to another node and start a new state machine from it.

       

      cat journal/raft/02511d47-d67c-49a3-9011-abb3109a44c1/current/raft-meta.conf
      ".
      ,
      192.168.1.100_1920011.151.252.98:192008#  

       

      cat journal/raft/02511d47-d67c-49a3-9011-abb3109a44c1/current/raft-meta     
      #
      #Wed Jul 19 18:58:15 CST 2023
      votedFor=192.168.1.100_19200
      term=3

       

      head journal/raft/02511d47-d67c-49a3-9011-abb3109a44c1/current/log_0-10
      RaftLog1".
      ,
      192.168.1.100_19200192.168.1.100:192008=�m!

      ���ݤ틻�r�4�}[@Ùj���(x-�'

       

      Attachments

        1. 901_review.patch
          19 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              chunxiaozheng chunxiaozheng
              maobaolong Baolong Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 10m
                  3h 10m