From 9f36d775dcf76da7f7fc1bca5c10c52bd488ff64 Mon Sep 17 00:00:00 2001 From: Asias He Date: Tue, 25 Jun 2019 09:23:08 +0800 Subject: [PATCH] repair: Add repair_hash_with_cmd It is a wrapper contains both a repair cmd and repair_hash object. --- repair/repair.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/repair/repair.hh b/repair/repair.hh index 9778f83f09..8685f00a74 100644 --- a/repair/repair.hh +++ b/repair/repair.hh @@ -315,6 +315,11 @@ enum class repair_stream_cmd : uint8_t { get_full_row_hashes, put_rows_done, }; + +struct repair_hash_with_cmd { + repair_stream_cmd cmd; + repair_hash hash; +}; enum class row_level_diff_detect_algorithm : uint8_t { send_full_set, };