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

fetchSnapshot might return null if topic is created before v2.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6.1
    • 3.8.0, 3.7.1
    • None

    Description

      Remote log manager will fetch snapshot via ProducerStateManager here, but the snapshot map might get nothing if the topic has no snapshot created, ex: topics before v2.8. Need to fix it to avoid NPE.

      old PR: https://github.com/apache/kafka/pull/14615/

      Attachments

        Issue Links

          Activity

            People

              goyarpit Arpit Goyal
              showuon Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: