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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.4.0.GA
    • Fix Version/s: 1.5.0.GA
    • Component/s: topic-operator
    • Labels:
      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

              Assignee:
              tombentley Tom Bentley
              Reporter:
              rhn-support-aboucham Abel Bouchama
              Tester:
              Lukas Kral Lukas Kral
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: