Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-4650

Support read metadata then read chunk in RewriteTsFileTool

    XMLWordPrintableJSON

Details

    • 2022-10-Cluster

    Description

      Current RewriteTsFileTool read the broken tsfile from head to tail, but in some case we want the tool to read metadata first, then read the chunk according to metadata. For example, if there is 10 chunks marked 1, 2, 3,...,10 in a tsfile, and the 3rd chunk is broken because of disk failure. If the user uses a sequence rewrite tool to read the remain data from the tsfile, the first and the second chunk can be read and rewrite to the IoTDB, while the remaining chunk cannot be read. If we use a rewrite tool that read from metadata first, all chunks except 3rd one can be read and rewrite to the tsfile.

      Attachments

        Issue Links

          Activity

            People

              ThuLiuxuxin Liuxuxin
              ThuLiuxuxin Liuxuxin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: