Kafka
  1. Kafka
  2. KAFKA-591

Add test cases to test log size retention and more

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      Add test cases to test the followings:

      1. Log Size Retention

      2. Replica Factor < no. of brokers in a cluster

      3. Multiple instances of Migration Tool

      4. Multiple instances of Mirror Maker

      5. Set "log.index.interval.bytes" to be slightly smaller than message size to force the indexing to be performed for each message

      1. kafka-591-v1.patch
        246 kB
        John Fung
      2. kafka-591-v2.patch
        278 kB
        John Fung

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        7d 9m 1 John Fung 05/Nov/12 21:14
        Patch Available Patch Available Resolved Resolved
        4d 1h 44m 1 Jun Rao 09/Nov/12 22:58
        Resolved Resolved Closed Closed
        3s 1 Jun Rao 09/Nov/12 22:58
        Jun Rao made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jun Rao made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.8 [ 12317244 ]
        Resolution Fixed [ 1 ]
        Hide
        Jun Rao added a comment -

        Thanks for patch v2. +1 Committed to 0.8

        Show
        Jun Rao added a comment - Thanks for patch v2. +1 Committed to 0.8
        John Fung made changes -
        Attachment kafka-591-v2.patch [ 12552866 ]
        John Fung made changes -
        Attachment kafka-591-v2.patch [ 12552786 ]
        Hide
        John Fung added a comment -

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

        1. Merged log_retention_testsuite into replication_testsuite
        2. Fixed the approach to validate the message count by SimpleConsumerShell when the replication factor is less than no. of brokers

        Show
        John Fung added a comment - Uploaded kafka-591-v2.patch with the following changes: 1. Merged log_retention_testsuite into replication_testsuite 2. Fixed the approach to validate the message count by SimpleConsumerShell when the replication factor is less than no. of brokers
        John Fung made changes -
        Attachment kafka-591-v2.patch [ 12552786 ]
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552576 ]
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552535 ]
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552535 ]
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552368 ]
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552368 ]
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552162 ]
        John Fung made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552162 ]
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552134 ]
        Hide
        John Fung added a comment -

        Uploaded kafka-591-v1.patch with the following changes:

        1. Added Log Size Retention (cases 4001 ~ 4008, 4011 ~ 4018)
        2. Replica Factor < no. of brokers in a cluster (cases 4011 ~ 4018)
        3. Multiple instances of Migration Tool (cases 9003 ~ 9006)
        4. Multiple instances of Mirror Maker (cases 5003 ~ 5006)
        5. Set "log.index.interval.bytes" to be slightly smaller than message size to force the indexing to be performed for each message (cases 0124 ~ 0127)

        Show
        John Fung added a comment - Uploaded kafka-591-v1.patch with the following changes: 1. Added Log Size Retention (cases 4001 ~ 4008, 4011 ~ 4018) 2. Replica Factor < no. of brokers in a cluster (cases 4011 ~ 4018) 3. Multiple instances of Migration Tool (cases 9003 ~ 9006) 4. Multiple instances of Mirror Maker (cases 5003 ~ 5006) 5. Set "log.index.interval.bytes" to be slightly smaller than message size to force the indexing to be performed for each message (cases 0124 ~ 0127)
        John Fung made changes -
        Attachment kafka-591-v1.patch [ 12552134 ]
        John Fung made changes -
        Description Add test cases to test the followings:

        1. Log Size Retention

        2. Replica Factor < no. of brokers in a cluster

        3. Multiple instances of Migration Tool

        4. Multiple instances of Mirror Maker

        5. Set "log.index.interval.bytes"
        Add test cases to test the followings:

        1. Log Size Retention

        2. Replica Factor < no. of brokers in a cluster

        3. Multiple instances of Migration Tool

        4. Multiple instances of Mirror Maker

        5. Set "log.index.interval.bytes" to be slightly smaller than message size to force the indexing to be performed for each message
        John Fung made changes -
        Field Original Value New Value
        Description Add test cases to test the followings:
        1. Log Size Retention
        2. Replica Factor < no. of brokers in a cluster
        3. Multiple instances of Migration Tool
        4. Multiple instances of Mirror Maker
        Add test cases to test the followings:

        1. Log Size Retention

        2. Replica Factor < no. of brokers in a cluster

        3. Multiple instances of Migration Tool

        4. Multiple instances of Mirror Maker

        5. Set "log.index.interval.bytes"
        John Fung created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development