@@ -1408,7 +1408,7 @@ class TTxMonEvent_Landing : public TTransactionBase<THive> {
1408
1408
out << " .blinking { animation:blinkingText 0.8s infinite; }" ;
1409
1409
out << " @keyframes blinkingText { 0% { color: #000; } 49% { color: #000; } 60% { color: transparent; } 99% { color:transparent; } 100% { color: #000; } }" ;
1410
1410
out << " .box { border: 1px solid grey; border-radius: 5px; padding-left: 2px; padding-right: 2px; display: inline-block; font: 11px Arial; cursor: pointer }" ;
1411
- out << " .disabled { text-decoration: line-through; }" ;
1411
+ out << " .box- disabled { text-decoration: line-through; }" ;
1412
1412
out << " </style>" ;
1413
1413
out << " </head>" ;
1414
1414
out << " <body>" ;
@@ -2246,7 +2246,7 @@ class TTxMonEvent_LandingData : public TTransactionBase<THive> {
2246
2246
if (MaxCount > 0 ) {
2247
2247
str << " <span class='box' " ;
2248
2248
} else {
2249
- str << " <span class='box disabled' " ;
2249
+ str << " <span class='box box- disabled' " ;
2250
2250
}
2251
2251
if (totalCount > MaxCount) {
2252
2252
str << " style='color: red' " ;
@@ -2267,11 +2267,24 @@ class TTxMonEvent_LandingData : public TTransactionBase<THive> {
2267
2267
2268
2268
void RenderJSONPage (IOutputStream &out) {
2269
2269
ui64 nodes = 0 ;
2270
- ui64 tablets = Self-> Tablets . size () ;
2270
+ ui64 tablets = 0 ;
2271
2271
ui64 runningTablets = 0 ;
2272
2272
ui64 aliveNodes = 0 ;
2273
2273
THashMap<ui32, TVector<TTabletsRunningInfo>> tabletsByNodeByType;
2274
2274
2275
+ for (const auto & pr : Self->Tablets ) {
2276
+ ++tablets;
2277
+ if (pr.second .IsRunning ()) {
2278
+ ++runningTablets;
2279
+ }
2280
+ for (const auto & follower : pr.second .Followers ) {
2281
+ ++tablets;
2282
+ if (follower.IsRunning ()) {
2283
+ ++runningTablets;
2284
+ }
2285
+ }
2286
+ }
2287
+
2275
2288
for (const auto & pr : Self->Nodes ) {
2276
2289
if (pr.second .IsAlive ()) {
2277
2290
++aliveNodes;
@@ -2293,7 +2306,6 @@ class TTxMonEvent_LandingData : public TTransactionBase<THive> {
2293
2306
if (tablet == nullptr ) {
2294
2307
continue ;
2295
2308
}
2296
- ++runningTablets;
2297
2309
if (tablet->IsLeader ()) {
2298
2310
++current.LeaderCount ;
2299
2311
} else {
0 commit comments