Skip to content

Commit

Permalink
compat: test some tx types
Browse files Browse the repository at this point in the history
- cluster::commit_tx
- cluster::abort_tx
- cluster::begin_group_tx
- cluster::prepare_group_tx
  • Loading branch information
andrwng committed Aug 4, 2022
1 parent 9d25c94 commit 388024c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/v/compat/run.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@

#include "cluster/metadata_dissemination_types.h"
#include "cluster/types.h"
#include "compat/abort_tx_compat.h"
#include "compat/begin_group_tx_compat.h"
#include "compat/begin_tx_compat.h"
#include "compat/check.h"
#include "compat/cluster_compat.h"
#include "compat/commit_tx_compat.h"
#include "compat/id_allocator_compat.h"
#include "compat/init_tm_tx_compat.h"
#include "compat/metadata_dissemination_compat.h"
#include "compat/prepare_group_tx_compat.h"
#include "compat/prepare_tx_compat.h"
#include "compat/raft_compat.h"
#include "compat/try_abort_compat.h"
Expand Down Expand Up @@ -73,7 +77,15 @@ using compat_checks = type_list<
cluster::update_leadership_request_v2,
cluster::update_leadership_reply,
cluster::get_leadership_request,
cluster::get_leadership_reply>;
cluster::get_leadership_reply,
cluster::abort_tx_request,
cluster::abort_tx_reply,
cluster::begin_group_tx_request,
cluster::begin_group_tx_reply,
cluster::prepare_group_tx_request,
cluster::prepare_group_tx_reply,
cluster::commit_tx_request,
cluster::commit_tx_reply>;

struct compat_error final : public std::runtime_error {
public:
Expand Down

0 comments on commit 388024c

Please sign in to comment.