diff options
author | ermolovd <ermolovd@yandex-team.com> | 2025-02-19 12:57:38 +0300 |
---|---|---|
committer | ermolovd <ermolovd@yandex-team.com> | 2025-02-19 13:19:53 +0300 |
commit | dbc58e8a3b624feb7bccd730530e520da549e859 (patch) | |
tree | bece6558f94e28a8d95cce5b413c2e39c37a28d0 /yt/cpp/mapreduce/interface/temp.cpp | |
parent | 209a37d035f1d8ea98e913ccbc07762ec479eab2 (diff) | |
download | ydb-dbc58e8a3b624feb7bccd730530e520da549e859.tar.gz |
YT-21081: fix temp tables for case when client is created with GlobalTx
commit_hash:c49256f38de62e8d05359c16a70ea6b88220a9ba
Diffstat (limited to 'yt/cpp/mapreduce/interface/temp.cpp')
-rw-r--r-- | yt/cpp/mapreduce/interface/temp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/interface/temp.cpp b/yt/cpp/mapreduce/interface/temp.cpp index 04250d12a6..2a3bf0f0bb 100644 --- a/yt/cpp/mapreduce/interface/temp.cpp +++ b/yt/cpp/mapreduce/interface/temp.cpp @@ -133,7 +133,7 @@ TYPath CreateTempTable( // we retry attempt if it was failed with path resolution error. const int maxAttempts = 3; for (int i = 0; i < maxAttempts; ++i) { - client->GetParentClient()->Create(resultDirectory, NT_MAP, TCreateOptions().Recursive(true).IgnoreExisting(true)); + client->GetParentClient(/*ignoreGlobalTx=*/ true)->Create(resultDirectory, NT_MAP, TCreateOptions().Recursive(true).IgnoreExisting(true)); try { client->Create(result, NT_TABLE, options); |