diff options
author | eak1mov <eak1mov@yandex-team.com> | 2024-06-05 12:00:55 +0300 |
---|---|---|
committer | eak1mov <eak1mov@yandex-team.com> | 2024-06-05 12:14:14 +0300 |
commit | 6268656db7e0150a4e9bd06ece4edbe9e8bcfcae (patch) | |
tree | 2004589f1933c9170c172b38d70f29f5aa478f69 /yt/cpp | |
parent | 78badf24be9f205a3efee2d5871fa896084aa3c9 (diff) | |
download | ydb-6268656db7e0150a4e9bd06ece4edbe9e8bcfcae.tar.gz |
[yt/cpp/mapreduce] Update misleading comment
Похоже в rXXXXXX по ошибке перенесли комментарий из `Abort()` в `Finish()`:
https://a.yandex-team.ru/arcadia/commit/rXXXXXX#file-mapreduce/yt/interface/io.h:L208
c182c2732c309d8c5371e3ef8071ecd07aa54928
Diffstat (limited to 'yt/cpp')
-rw-r--r-- | yt/cpp/mapreduce/interface/io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/interface/io.h b/yt/cpp/mapreduce/interface/io.h index 4f5480d107..1d7f5375a2 100644 --- a/yt/cpp/mapreduce/interface/io.h +++ b/yt/cpp/mapreduce/interface/io.h @@ -387,7 +387,8 @@ public: /// The row may (and very probably will) *not* be written immediately. void AddRow(const T& row); - /// Stop writing data as soon as possible (without flushing data, e.g. before aborting parent transaction). + /// Complete writing and check that everything is written successfully. + /// No other data can be written after Finish is called. void Finish(); size_t GetBufferMemoryUsage() const; |