Skip to content

Commit

Permalink
storage: Start compact group_*_tx records
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimPlh committed Aug 18, 2022
1 parent 4544be1 commit 01a79b7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/v/storage/segment_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,7 @@ struct clean_segment_value
inline bool is_compactible(const model::record_batch& b) {
return !(
b.header().type == model::record_batch_type::raft_configuration
|| b.header().type == model::record_batch_type::archival_metadata
|| b.header().type == model::record_batch_type::group_abort_tx
|| b.header().type == model::record_batch_type::group_commit_tx
|| b.header().type == model::record_batch_type::group_prepare_tx);
|| b.header().type == model::record_batch_type::archival_metadata);
}

} // namespace storage::internal

0 comments on commit 01a79b7

Please sign in to comment.