kafka-journal icon indicating copy to clipboard operation
kafka-journal copied to clipboard

rework algorithm in `Batch` to reduce variability and increases readability

Open mr-git opened this issue 1 year ago • 1 comments

Rework logic in Batch as next step for #676

Idea is as fallows:

  • drop all actions before purge
  • keep single delete action - the most recent one
  • drop would be discarded append actions
  • batch non-discarded append actions
  • apply them in order: purge, appends, delete

mr-git avatar Oct 16 '24 05:10 mr-git