summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface
diff options
context:
space:
mode:
Diffstat (limited to 'yt/cpp/mapreduce/interface')
-rw-r--r--yt/cpp/mapreduce/interface/client.h2
-rw-r--r--yt/cpp/mapreduce/interface/config.h6
-rw-r--r--yt/cpp/mapreduce/interface/fwd.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/yt/cpp/mapreduce/interface/client.h b/yt/cpp/mapreduce/interface/client.h
index 2c0dae7eabd..208ed095d6e 100644
--- a/yt/cpp/mapreduce/interface/client.h
+++ b/yt/cpp/mapreduce/interface/client.h
@@ -249,7 +249,7 @@ public:
/// All changes that are made by transactions become visible globally or to parent transaction.
///
/// @see [YT doc](https://ytsaurus.tech/docs/en/api/commands.html#commit_tx)
- virtual void Commit() = 0;
+ virtual void Commit(const TCommitTransactionOptions& options = {}) = 0;
///
/// @brief Abort transaction.
diff --git a/yt/cpp/mapreduce/interface/config.h b/yt/cpp/mapreduce/interface/config.h
index 04b1109dbc7..9b8a644f876 100644
--- a/yt/cpp/mapreduce/interface/config.h
+++ b/yt/cpp/mapreduce/interface/config.h
@@ -297,10 +297,8 @@ struct TConfig
/// Allow to create trace_id on client side and propogate with request
bool EnableClientTracing = true;
- /// Use a separate connection for lightweight control requests.
- /// If this option is set to true, a separate connection is opened for lightweight requests (for example, ping_transaction).
- /// This is needed so that important lightweight requests do not wait for heavy requests, such as file writes, to complete.
- /// However, using this option increases the number of open TCP connections.
+ /// If true, all RPC requests share a single connection,
+ // and the native client sends lightweight control requests via a separate multiplexing band.
bool EnableControlMultiplexingBand = false;
static bool GetBool(const char* var, bool defaultValue = false);
diff --git a/yt/cpp/mapreduce/interface/fwd.h b/yt/cpp/mapreduce/interface/fwd.h
index bdc4c2279d9..adef184c1aa 100644
--- a/yt/cpp/mapreduce/interface/fwd.h
+++ b/yt/cpp/mapreduce/interface/fwd.h
@@ -33,6 +33,8 @@ namespace NYT {
struct TStartTransactionOptions;
+ struct TCommitTransactionOptions;
+
struct TLockOptions;
template <class TDerived>