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

High watermark values can be overwritten during controlled shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • None
    • replication

    Description

      Race condition between controlled shutdown, actual process shutdown and high watermark checkpoint thread frequency can cause high watermark values for a subset of partitions to be overwritten. So even if the controller sends a complete list of partitions to the broker, the highwatermark for some partitions is still 0. This causes the follower to fetch from the leader's start offset.

      Attachments

        1. kafka-858.patch
          6 kB
          Neha Narkhede
        2. kafka-858-v2.patch
          4 kB
          Neha Narkhede

        Activity

          People

            nehanarkhede Neha Narkhede
            nehanarkhede Neha Narkhede
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: