Lianet Magrans created KAFKA-20866:
--------------------------------------

             Summary: Remove incremental-only fields from RecordAppendResult
                 Key: KAFKA-20866
                 URL: https://issues.apache.org/jira/browse/KAFKA-20866
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Lianet Magrans
            Assignee: Lianet Magrans


For the incremental strategy we added two fields to 
RecordAccumulator.RecordAppendResult (outcome and extensionBytesNeeded)

Neither is used by the default full strategy but RecordAppendResult is created 
per successful append, so both strategies now carry two fields that only one of 
them reads.

No impact on latency, just per-append state (bytes for obj in mem) it does not 
need, and a small refactor removes it 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to