aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbabenko <babenko@yandex-team.com>2024-04-19 11:04:53 +0300
committerbabenko <babenko@yandex-team.com>2024-04-19 11:16:27 +0300
commitfe4c78261c8e596cd2867ed883426b2c296bb361 (patch)
treee8d9235db9321b9209a3f07f723d92411d3a6187
parent43f5db849a1fd2d841af666b9cda0dd3c5c8d892 (diff)
downloadydb-fe4c78261c8e596cd2867ed883426b2c296bb361.tar.gz
Set TJournalWriterOptions::EnableChunkPreallocation to true by default
15d1766a117f040cefaa3cc19a7384dbb4547787
-rw-r--r--yt/yt/client/api/journal_client.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/yt/yt/client/api/journal_client.h b/yt/yt/client/api/journal_client.h
index 35d4beee58..457ad7597d 100644
--- a/yt/yt/client/api/journal_client.h
+++ b/yt/yt/client/api/journal_client.h
@@ -63,8 +63,7 @@ struct TJournalWriterOptions
{
TJournalWriterConfigPtr Config;
bool EnableMultiplexing = true;
- // TODO(babenko): enable by default
- bool EnableChunkPreallocation = false;
+ bool EnableChunkPreallocation = true;
i64 ReplicaLagLimit = NJournalClient::DefaultReplicaLagLimit;