File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1955,16 +1955,18 @@ void THive::Handle(TEvHive::TEvRequestHiveDomainStats::TPtr& ev) {
1955
1955
1956
1956
void THive::Handle (TEvHive::TEvRequestHiveNodeStats::TPtr& ev) {
1957
1957
const auto & request (ev->Get ()->Record );
1958
+ TInstant now = TActivationContext::Now ();
1958
1959
THolder<TEvHive::TEvResponseHiveNodeStats> response = MakeHolder<TEvHive::TEvResponseHiveNodeStats>();
1959
1960
auto & record = response->Record ;
1960
1961
if (request.GetReturnExtendedTabletInfo ()) {
1961
1962
record.SetExtendedTabletInfo (true );
1962
1963
}
1963
1964
for (auto it = Nodes.begin (); it != Nodes.end (); ++it) {
1964
- const TNodeInfo& node = it->second ;
1965
+ TNodeInfo& node = it->second ;
1965
1966
if (node.IsUnknown ()) {
1966
1967
continue ;
1967
1968
}
1969
+ node.ActualizeNodeStatistics (now);
1968
1970
auto & nodeStats = *record.AddNodeStats ();
1969
1971
nodeStats.SetNodeId (node.Id );
1970
1972
if (!node.ServicedDomains .empty ()) {
You can’t perform that action at this time.
0 commit comments