Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-1877

The CR of a topic returns the wrong status after decreasing partitions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.5.0.GA
    • 1.4.0.GA
    • topic-operator
    • None

    Description

      When we decrease partitions of a topic, the CR returns wrong status.

      The status of the CR is "Ready"

      $oc get kafkatopic.kafka.strimzi.io/topictest -o yaml | yq r - 'status.conditions'
      - lastTransitionTime: "2020-04-22T15:19:48.882Z"
        status: "True"
        type: Ready
      

      However, in the "Entity operator" log, we see the following error:

      [2020-04-22 15:25:49,900] ERROR <opicOperator:1300> [oop-thread-0] Error reconciling KafkaTopic strimzi/topictest
      java.lang.Exception: Number of partitions cannot be decreased
      

      Attachments

        Issue Links

          Activity

            People

              tbentley-1 Tom Bentley
              rhn-support-aboucham Abel Bouchama
              Lukas Kral Lukas Kral
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: