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

Segment with corrupted index should not be uploaded to remote storage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.6.0
    • 3.7.0
    • core

    Description

      During data disk full event, there could be a situation with index corruption. There are existing functions which perform sanity checks to TimeIndex [1], TxnIndex [2], OffsetIndex [2]. The idea is performing same checks before in RemoteLogManager before we upload segment to remote storage [4].

      Resources:
      [1]TimeIndex::sanityCheck()
      [2]TransationIndex::sanityCheck()
      [3]OffsetIndex::sanityCheck()]
      [4]RemoteLogManager::copyLogSegmentsToRemote()

      Attachments

        Issue Links

          Activity

            People

              nickstery Viktor Nikitash
              nickstery Viktor Nikitash
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Remaining Estimate - 48h
                  48h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified