XMLWordPrintableJSON

Details

    Description

      As discussed offline, the new implementation has been modified.

      • Don't perform a scan during the planning phase. Instead, we put a flag along with part spec to indicate it is ordinary manual trigger compaction.
      • Introduce a new PrecommittingSinkWriter impl to perform dedicated compaction tasks. This writer is responsible for scanning and selecting partition and bucket according to the current sub-task id, and then creating a per-bucket compact writer to submit compaction. Since there's no data shuffled between source and sink, so all the compaction is performed when SinkWriterOperator#prepareCommit is invoked.

      Attachments

        Issue Links

          Activity

            People

              qingyue Jane Chan
              qingyue Jane Chan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: