aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorermolovd <ermolovd@yandex-team.com>2024-08-27 15:38:41 +0300
committerermolovd <ermolovd@yandex-team.com>2024-08-27 15:51:07 +0300
commit82895e6864700905b7420b41c6cdf9285533ad1e (patch)
tree6378b4b568765f741fe9a14a54b496864087209a
parent5d0a317b3f61375b4ae253cdc68e223f3f361dc9 (diff)
downloadydb-82895e6864700905b7420b41c6cdf9285533ad1e.tar.gz
Better comment
aa8b4c15efdb99c12a4ce5815d0d4f2d70620cb4
-rw-r--r--yt/cpp/mapreduce/interface/operation.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/operation.h b/yt/cpp/mapreduce/interface/operation.h
index 9e17ca7e90..9a85049886 100644
--- a/yt/cpp/mapreduce/interface/operation.h
+++ b/yt/cpp/mapreduce/interface/operation.h
@@ -1557,10 +1557,17 @@ struct TOperationOptions
///
/// @brief Path to directory to store temporary files.
+ /// Useful if you want to control how lifetime of uploaded files.
FLUENT_FIELD_OPTION(TString, FileStorage);
///
/// @brief Expiration timeout for uploaded files.
+ ///
+ /// Set attribute ExpirationTimeout for files being uploaded during operation preparation.
+ /// Useful when using custom FileStorage and don't want to create separate cleanup process.
+ ///
+ /// When using default FileStorage inside //tmp this parameter is almost useless.
+ /// //tmp directory is cleaned up by separate process and files can be deleted before FileExpiratoinTimeout is reached.
FLUENT_FIELD_OPTION(TDuration, FileExpirationTimeout);
///