Jose Armando Garcia Sancio created KAFKA-10819:
--------------------------------------------------

             Summary: The freeze operation should validate the content of the 
snapshot
                 Key: KAFKA-10819
                 URL: https://issues.apache.org/jira/browse/KAFKA-10819
             Project: Kafka
          Issue Type: Sub-task
          Components: replication
            Reporter: Jose Armando Garcia Sancio
            Assignee: Jose Armando Garcia Sancio


When freeze is called the Raft Client should make sure:
 # That the file contains complete record batches
 # That the CRC for each record batch is correct

If any of the validations fail then the freeze operation should fail. The state 
of the snapshot should be as if close was called without calling freeze. In 
other words no immutable snapshot gets created.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to