Skip to content

Commit

Permalink
merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
azevaykin committed Aug 29, 2024
1 parent ccbd4cc commit d044419
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ydb/core/statistics/aggregator/tx_ack_timeout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct TStatisticsAggregator::TTxAckTimeout : public TTxBase {

TTxType GetTxType() const override { return TXTYPE_ACK_TIMEOUT; }

bool Execute(TTransactionContext& txc, const TActorContext&) override {
bool Execute(TTransactionContext& /*txc*/, const TActorContext&) override {
SA_LOG_D("[" << Self->TabletID() << "] TTxAckTimeout::Execute");
return true;
}
Expand Down
6 changes: 3 additions & 3 deletions ydb/core/statistics/ut_common/ut_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ TTestEnv::TTestEnv(ui32 staticNodes, ui32 dynamicNodes, ui32 storagePools, bool
Settings->SetDomainName("Root");
Settings->SetNodeCount(staticNodes);
Settings->SetDynamicNodeCount(dynamicNodes);
Settings->SetUseRealThreads(false);
Settings->SetUseRealThreads(useRealThreads);

NKikimrConfig::TFeatureFlags featureFlags;
featureFlags.SetEnableStatistics(true);
Expand Down Expand Up @@ -309,12 +309,12 @@ void DropTable(TTestEnv& env, const TString& databaseName, const TString& tableN
UNIT_ASSERT_C(result.IsSuccess(), result.GetIssues().ToString());
}

std::shared_ptr<TCountMinSketch> ExtractCountMin(TTestActorRuntime& runtime, const TPathId& pathId, ui64 columnTag) {
std::shared_ptr<TCountMinSketch> ExtractCountMin(TTestActorRuntime& runtime, TPathId pathId, ui64 columnTag) {
auto statServiceId = NStat::MakeStatServiceID(runtime.GetNodeId(1));

NStat::TRequest req;
req.PathId = pathId;
req.ColumnTag = 1;
req.ColumnTag = columnTag;

auto evGet = std::make_unique<TEvStatistics::TEvGetStatistics>();
evGet->StatType = NStat::EStatType::COUNT_MIN_SKETCH;
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/statistics/ut_common/ut_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ NKikimrSubDomains::TSubDomainSettings GetSubDomainDefaultSettings(

class TTestEnv {
public:
TTestEnv(ui32 staticNodes = 1, ui32 dynamicNodes = 1, ui32 storagePools = 1);
TTestEnv(ui32 staticNodes = 1, ui32 dynamicNodes = 1, ui32 storagePools = 1, bool useRealThreads = false);
~TTestEnv();

Tests::TServer& GetServer() const {
Expand Down

0 comments on commit d044419

Please sign in to comment.