Kafka
  1. Kafka
  2. KAFKA-605

System Test - Log Retention Cases should wait longer before getting the common starting offset in replica log segments

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None
    1. kafka-605-v1.patch
      3 kB
      John Fung
    2. kafka-605-v2.patch
      28 kB
      John Fung

      Activity

      Hide
      John Fung added a comment -

      Test cases 4001 ~ 4008, 4011 ~ 4018 are testing log retention (size). The wait time here is the time starting to wait after ProducerPerformance stops sending messages. It is now changed to 60 seconds to make sure that the log truncation would be completed before looking up the common starting offset from the log segments files in different replicas.

      In this patch, there is also a minor fix for data match validation to fail a test case if all the simple consumer message count is 0 in a certain topic.

      Show
      John Fung added a comment - Test cases 4001 ~ 4008, 4011 ~ 4018 are testing log retention (size). The wait time here is the time starting to wait after ProducerPerformance stops sending messages. It is now changed to 60 seconds to make sure that the log truncation would be completed before looking up the common starting offset from the log segments files in different replicas. In this patch, there is also a minor fix for data match validation to fail a test case if all the simple consumer message count is 0 in a certain topic.
      Hide
      John Fung added a comment -

      Uploaded kafka-605-v2.patch with the following changes:

      1. Increased producer-retry-backoff-ms to 3500ms
      2. Added testcase_9051 to test 20 topics

      Show
      John Fung added a comment - Uploaded kafka-605-v2.patch with the following changes: 1. Increased producer-retry-backoff-ms to 3500ms 2. Added testcase_9051 to test 20 topics
      Hide
      Jun Rao added a comment -

      Thanks for the patch. +1 and committed to 0.8.

      Show
      Jun Rao added a comment - Thanks for the patch. +1 and committed to 0.8.

        People

        • Assignee:
          Unassigned
          Reporter:
          John Fung
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development