Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10532

Do not wipe state store under EOS when closing-dirty a RESTORING active or RUNNING standby task

    XMLWordPrintableJSON

Details

    Description

      Today whenever we are closing-dirty a task, we always wipe out the state stores if we are under EOS. But when the closing task was a RESTORING active, or a RUNNING standby, we may actually not need to wipe out the stores since we know that upon resuming, we would still continue restoring the task before transit to processing ever (assuming the LEO offset would not be truncated), i.e. when they resumes it does not matter if the same records gets applied twice during the continued restoration.

      Attachments

        Issue Links

          Activity

            People

              lqxshay Shay Lin
              guozhang Guozhang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: