Skip to content

Commit

Permalink
rm_stm: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
rystsov committed Jul 8, 2022
1 parent 1e180ec commit c0fe45f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/v/cluster/rm_stm.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,18 +409,6 @@ class rm_stm final : public persisted_stm {
}
};

struct request_id {
model::producer_identity pid;
int32_t seq;

auto operator<=>(const request_id&) const = default;

template<typename H>
friend H AbslHashValue(H h, const request_id& bid) {
return H::combine(std::move(h), bid.pid, bid.seq);
}
};

// When a request is retried while the first appempt is still
// being replicated the retried request is parked until the
// original request is replicated.
Expand Down

0 comments on commit c0fe45f

Please sign in to comment.