repair: Add use_rpc_stream to repair_meta

Determine if rpc stream should be used.
This commit is contained in:
Asias He
2019-06-25 15:25:08 +08:00
parent 7bf0c646be
commit fccaa0324f

View File

@@ -612,6 +612,9 @@ public:
const repair_hash& working_row_buf_combined_hash() const {
return _working_row_buf_combined_hash;
}
bool use_rpc_stream() const {
return is_rpc_stream_supported(_algo);
}
public:
repair_meta(