Skip to content

Commit

Permalink
Merge eb6bb78 into 849baa4
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Nov 6, 2024
2 parents 849baa4 + eb6bb78 commit b7c5852
Show file tree
Hide file tree
Showing 105 changed files with 3,283 additions and 1,263 deletions.
1 change: 1 addition & 0 deletions .github/config/muted_ya.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ydb/core/kqp/ut/olap KqpOlapBlobsSharing.TableReshardingModuloN
ydb/core/kqp/ut/olap KqpOlapBlobsSharing.UpsertWhileSplitTest
ydb/core/kqp/ut/olap KqpOlapStatistics.StatsUsageWithTTL
ydb/core/kqp/ut/olap KqpOlapWrite.TierDraftsGCWithRestart
ydb/core/kqp/ut/olap KqpOlapIndexes.Indexes*
ydb/core/kqp/ut/olap [*/*] chunk chunk
ydb/core/kqp/ut/query KqpAnalyze.AnalyzeTable+ColumnStore
ydb/core/kqp/ut/query KqpLimits.QueryExecTimeoutCancel
Expand Down
1 change: 1 addition & 0 deletions ydb/core/kqp/ut/olap/tiering_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace NKikimr::NKqp {
Y_UNIT_TEST_SUITE(KqpOlapTiering) {
Y_UNIT_TEST(Eviction) {
auto csController = NYDBTest::TControllers::RegisterCSControllerGuard<NOlap::TWaitCompactionController>();
csController->SetSkipSpecialCheckForEvict(true);

TKikimrSettings runnerSettings;
runnerSettings.WithSampleTables = false;
Expand Down
1 change: 1 addition & 0 deletions ydb/core/tx/columnshard/blobs_action/abstract/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ PEERDIR(
contrib/libs/apache/arrow
ydb/core/tablet_flat
ydb/core/tx/tiering/abstract
ydb/core/tx/columnshard/hooks/abstract
ydb/core/tx/columnshard/blobs_action/common
ydb/core/tx/columnshard/data_sharing/protos
ydb/core/tx/columnshard/blobs_action/events
Expand Down
9 changes: 7 additions & 2 deletions ydb/core/tx/columnshard/columnshard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include "bg_tasks/manager/manager.h"
#include "blobs_reader/actor.h"
#include "counters/aggregation/table_stats.h"
#include "data_accessor/actor.h"
#include "data_accessor/manager.h"
#include "engines/column_engine_logs.h"
#include "engines/writer/buffer/actor.h"
#include "hooks/abstract/abstract.h"
Expand Down Expand Up @@ -30,6 +32,7 @@ void TColumnShard::CleanupActors(const TActorContext& ctx) {
}
ctx.Send(ResourceSubscribeActor, new TEvents::TEvPoisonPill);
ctx.Send(BufferizationWriteActorId, new TEvents::TEvPoisonPill);
ctx.Send(DataAccessorsControlActorId, new TEvents::TEvPoisonPill);
if (PrioritizationClientId) {
NPrioritiesQueue::TCompServiceOperator::UnregisterClient(PrioritizationClientId);
}
Expand Down Expand Up @@ -105,6 +108,9 @@ void TColumnShard::OnActivateExecutor(const TActorContext& ctx) {
Settings.RegisterControls(icb);
ResourceSubscribeActor = ctx.Register(new NOlap::NResourceBroker::NSubscribe::TActor(TabletID(), SelfId()));
BufferizationWriteActorId = ctx.Register(new NColumnShard::NWriting::TActor(TabletID(), SelfId()));
DataAccessorsControlActorId = ctx.Register(new NOlap::NDataAccessorControl::TActor(TabletID(), SelfId()));
DataAccessorsManager = std::make_shared<NOlap::NDataAccessorControl::TActorAccessorsManager>(DataAccessorsControlActorId),

PrioritizationClientId = NPrioritiesQueue::TCompServiceOperator::RegisterClient();
Execute(CreateTxInitSchema(), ctx);
}
Expand Down Expand Up @@ -299,8 +305,7 @@ void TColumnShard::UpdateIndexCounters() {
LOG_S_DEBUG("Index: tables " << stats.Tables << " inserted " << stats.GetInsertedStats().DebugString() << " compacted "
<< stats.GetCompactedStats().DebugString() << " s-compacted " << stats.GetSplitCompactedStats().DebugString()
<< " inactive " << stats.GetInactiveStats().DebugString() << " evicted "
<< stats.GetEvictedStats().DebugString() << " at tablet "
<< TabletID());
<< stats.GetEvictedStats().DebugString() << " at tablet " << TabletID());
}

ui64 TColumnShard::MemoryUsage() const {
Expand Down
Loading

0 comments on commit b7c5852

Please sign in to comment.