Skip to content

Commit 03d0bea

Browse files
authored
MaxReadStaleness_ms has been increased (#23838)
1 parent 72473a8 commit 03d0bea

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

ydb/core/kqp/ut/olap/write_ut.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ Y_UNIT_TEST_SUITE(KqpOlapWrite) {
479479

480480
auto settings = TKikimrSettings().SetWithSampleTables(false).SetColumnShardAlterObjectEnabled(true);
481481
settings.AppConfig.MutableTableServiceConfig()->SetEnableOlapSink(true);
482+
settings.AppConfig.MutableColumnShardConfig()->SetMaxReadStaleness_ms(300000);
482483

483484
TKikimrRunner kikimr(settings);
484485
auto helper = TLocalHelper(kikimr);

ydb/core/protos/config.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2109,7 +2109,7 @@ message TColumnShardConfig {
21092109
}
21102110

21112111
optional uint32 MaxInFlightIntervalsOnRequest = 16;
2112-
optional uint32 MaxReadStaleness_ms = 18 [default = 300000];
2112+
optional uint32 MaxReadStaleness_ms = 18 [default = 1800000];
21132113
optional uint32 GCIntervalMs = 19 [default = 30000];
21142114
optional uint32 CompactionActualizationLagMs = 20 [default = 1000];
21152115
optional uint32 ActualizationTasksLagMs = 21 [default = 1000];

ydb/core/tx/columnshard/ut_rw/ut_columnshard_read_write.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,8 +2427,10 @@ Y_UNIT_TEST_SUITE(TColumnShardTestReadWrite) {
24272427
TTestBasicRuntime runtime;
24282428
TTester::Setup(runtime);
24292429
auto csDefaultControllerGuard = NKikimr::NYDBTest::TControllers::RegisterCSControllerGuard<TDefaultTestsController>();
2430+
csDefaultControllerGuard->SetOverrideMaxReadStaleness(TDuration::Minutes(5));
24302431

24312432
TActorId sender = runtime.AllocateEdgeActor();
2433+
24322434
CreateTestBootstrapper(runtime, CreateTestTabletInfo(TTestTxConfig::TxTablet0, TTabletTypes::ColumnShard), &CreateColumnShard);
24332435

24342436
TDispatchOptions options;

0 commit comments

Comments
 (0)