@@ -812,61 +812,63 @@ struct TSchemeShard::TTxMonitoring : public NTabletFlatExecutor::TTransactionBas
812
812
const auto & info = *indexInfoPtr->Get ();
813
813
TAG (TH4) {str << " Fields" ;}
814
814
PRE () {
815
- str << " BuildInfoId: " << info.Id << Endl
816
- << " Uid: " << info.Uid << Endl
815
+ str << " BuildInfoId: " << info.Id << Endl
816
+ << " Uid: " << info.Uid << Endl
817
817
818
- << " CancelRequested: " << (info.CancelRequested ? " YES" : " NO" ) << Endl
818
+ << " CancelRequested: " << (info.CancelRequested ? " YES" : " NO" ) << Endl
819
819
820
- << " State: " << info.State << Endl
821
- << " IsBroken: " << info.IsBroken << Endl
822
- << " Issue: " << info.GetIssue () << Endl
820
+ << " State: " << info.State << Endl
821
+ << " KMeans: " << info.KMeans .DebugString () << Endl
822
+ << " Sample: " << info.Sample .DebugString () << Endl
823
+ << " IsBroken: " << info.IsBroken << Endl
824
+ << " Issue: " << info.GetIssue () << Endl
823
825
824
- << " Shards.size: " << info.Shards .size () << Endl
825
- << " ToUploadShards.size: " << info.ToUploadShards .size () << Endl
826
- << " DoneShards.size: " << info.DoneShards .size () << Endl
827
- << " InProgressShards.size: " << info.InProgressShards .size () << Endl
826
+ << " Shards.size: " << info.Shards .size () << Endl
827
+ << " ToUploadShards.size: " << info.ToUploadShards .size () << Endl
828
+ << " DoneShards.size: " << info.DoneShards .size () << Endl
829
+ << " InProgressShards.size: " << info.InProgressShards .size () << Endl
828
830
829
- << " DomainPathId: " << LinkToPathInfo (info.DomainPathId ) << Endl
830
- << " DomainPath: " << TPath::Init (info.DomainPathId , Self).PathString () << Endl
831
+ << " DomainPathId: " << LinkToPathInfo (info.DomainPathId ) << Endl
832
+ << " DomainPath: " << TPath::Init (info.DomainPathId , Self).PathString () << Endl
831
833
832
- << " TablePathId: " << LinkToPathInfo (info.TablePathId ) << Endl
833
- << " TablePath: " << TPath::Init (info.TablePathId , Self).PathString () << Endl
834
+ << " TablePathId: " << LinkToPathInfo (info.TablePathId ) << Endl
835
+ << " TablePath: " << TPath::Init (info.TablePathId , Self).PathString () << Endl
834
836
835
- << " IndexType: " << NKikimrSchemeOp::EIndexType_Name (info.IndexType ) << Endl
837
+ << " IndexType: " << NKikimrSchemeOp::EIndexType_Name (info.IndexType ) << Endl
836
838
837
- << " IndexName: " << info.IndexName << Endl;
839
+ << " IndexName: " << info.IndexName << Endl;
838
840
839
- for (const auto & column: info.IndexColumns ) {
840
- str << " IndexColumns: " << column << Endl;
841
- }
841
+ for (const auto & column: info.IndexColumns ) {
842
+ str << " IndexColumns: " << column << Endl;
843
+ }
842
844
843
- str << " Subscribers.size: " << info.Subscribers .size () << Endl
845
+ str << " Subscribers.size: " << info.Subscribers .size () << Endl
844
846
845
- << " AlterMainTableTxId: " << info.AlterMainTableTxId << Endl
846
- << " AlterMainTableTxStatus: " << NKikimrScheme::EStatus_Name (info.AlterMainTableTxStatus ) << Endl
847
- << " AlterMainTableTxDone: " << (info.AlterMainTableTxDone ? " DONE" : " not done" ) << Endl
847
+ << " AlterMainTableTxId: " << info.AlterMainTableTxId << Endl
848
+ << " AlterMainTableTxStatus: " << NKikimrScheme::EStatus_Name (info.AlterMainTableTxStatus ) << Endl
849
+ << " AlterMainTableTxDone: " << (info.AlterMainTableTxDone ? " DONE" : " not done" ) << Endl
848
850
849
- << " LockTxId: " << info.LockTxId << Endl
850
- << " LockTxStatus: " << NKikimrScheme::EStatus_Name (info.LockTxStatus ) << Endl
851
+ << " LockTxId: " << info.LockTxId << Endl
852
+ << " LockTxStatus: " << NKikimrScheme::EStatus_Name (info.LockTxStatus ) << Endl
851
853
<< " LockTxDone " << (info.LockTxDone ? " DONE" : " not done" ) << Endl
852
854
853
- << " InitiateTxId: " << info.InitiateTxId << Endl
854
- << " InitiateTxStatus: " << NKikimrScheme::EStatus_Name (info.InitiateTxStatus ) << Endl
855
+ << " InitiateTxId: " << info.InitiateTxId << Endl
856
+ << " InitiateTxStatus: " << NKikimrScheme::EStatus_Name (info.InitiateTxStatus ) << Endl
855
857
<< " InitiateTxDone " << (info.InitiateTxDone ? " DONE" : " not done" ) << Endl
856
858
857
- << " ApplyTxId: " << info.ApplyTxId << Endl
858
- << " ApplyTxStatus: " << NKikimrScheme::EStatus_Name (info.ApplyTxStatus ) << Endl
859
+ << " ApplyTxId: " << info.ApplyTxId << Endl
860
+ << " ApplyTxStatus: " << NKikimrScheme::EStatus_Name (info.ApplyTxStatus ) << Endl
859
861
<< " ApplyTxDone " << (info.ApplyTxDone ? " DONE" : " not done" ) << Endl
860
862
861
- << " UnlockTxId: " << info.UnlockTxId << Endl
862
- << " UnlockTxStatus: " << NKikimrScheme::EStatus_Name (info.UnlockTxStatus ) << Endl
863
+ << " UnlockTxId: " << info.UnlockTxId << Endl
864
+ << " UnlockTxStatus: " << NKikimrScheme::EStatus_Name (info.UnlockTxStatus ) << Endl
863
865
<< " UnlockTxDone " << (info.UnlockTxDone ? " DONE" : " not done" ) << Endl
864
866
865
- << " SnapshotStep: " << info.SnapshotStep << Endl
866
- << " SnapshotTxId: " << info.SnapshotTxId << Endl
867
+ << " SnapshotStep: " << info.SnapshotStep << Endl
868
+ << " SnapshotTxId: " << info.SnapshotTxId << Endl
867
869
868
- << " Processed: " << info.Processed << Endl
869
- << " Billed: " << info.Billed << Endl;
870
+ << " Processed: " << info.Processed << Endl
871
+ << " Billed: " << info.Billed << Endl;
870
872
871
873
}
872
874
@@ -1047,10 +1049,10 @@ struct TSchemeShard::TTxMonitoring : public NTabletFlatExecutor::TTransactionBas
1047
1049
1048
1050
TAG (TH4) {str << " Shard idx " << shardIdx << " </a>" ;}
1049
1051
PRE () {
1050
- str << " TabletID: " << shard.TabletID << Endl
1051
- << " CurrentTxId: " << shard.CurrentTxId << Endl
1052
- << " PathId: " << LinkToPathInfo (shard.PathId ) << Endl
1053
- << " TabletType: " << TTabletTypes::TypeToStr (shard.TabletType ) << Endl;
1052
+ str << " TabletID: " << shard.TabletID << Endl
1053
+ << " CurrentTxId: " << shard.CurrentTxId << Endl
1054
+ << " PathId: " << LinkToPathInfo (shard.PathId ) << Endl
1055
+ << " TabletType: " << TTabletTypes::TypeToStr (shard.TabletType ) << Endl;
1054
1056
}
1055
1057
1056
1058
TAG (TH4) {str << " BindedChannels for shard idx " << shardIdx << " </a>" ;}
@@ -1120,25 +1122,25 @@ struct TSchemeShard::TTxMonitoring : public NTabletFlatExecutor::TTransactionBas
1120
1122
1121
1123
TAG (TH4) {str << " Path info " << pathId << " </a>" ;}
1122
1124
PRE () {
1123
- str << " Path: " << Self->PathToString (path) << Endl
1124
- << " PathId: " << pathId << Endl
1125
- << " Parent Path Id: " << LinkToPathInfo (path->ParentPathId ) << Endl
1126
- << " Name: " << path->Name << Endl
1127
- << " Owner: " << path->Owner << Endl
1128
- << " ACL: " << localACL.ToString () << Endl
1129
- << " ACLVersion: " << path->ACLVersion << Endl
1130
- << " EffectiveACL: " << effectiveACL.ToString () << Endl
1131
- << " Path Type: " << NKikimrSchemeOp::EPathType_Name (path->PathType ) << Endl
1132
- << " Path State: " << NKikimrSchemeOp::EPathState_Name (path->PathState ) << Endl
1133
- << " Created step: " << path->StepCreated << Endl
1134
- << " Dropped step: " << path->StepDropped << Endl
1135
- << " Created tx: " << path->CreateTxId << Endl
1136
- << " Dropped tx: " << path->DropTxId << Endl
1137
- << " Last tx: " << path->LastTxId << Endl
1125
+ str << " Path: " << Self->PathToString (path) << Endl
1126
+ << " PathId: " << pathId << Endl
1127
+ << " Parent Path Id: " << LinkToPathInfo (path->ParentPathId ) << Endl
1128
+ << " Name: " << path->Name << Endl
1129
+ << " Owner: " << path->Owner << Endl
1130
+ << " ACL: " << localACL.ToString () << Endl
1131
+ << " ACLVersion: " << path->ACLVersion << Endl
1132
+ << " EffectiveACL: " << effectiveACL.ToString () << Endl
1133
+ << " Path Type: " << NKikimrSchemeOp::EPathType_Name (path->PathType ) << Endl
1134
+ << " Path State: " << NKikimrSchemeOp::EPathState_Name (path->PathState ) << Endl
1135
+ << " Created step: " << path->StepCreated << Endl
1136
+ << " Dropped step: " << path->StepDropped << Endl
1137
+ << " Created tx: " << path->CreateTxId << Endl
1138
+ << " Dropped tx: " << path->DropTxId << Endl
1139
+ << " Last tx: " << path->LastTxId << Endl
1138
1140
<< " Has PreSerializedChildrenListing: " << !path->PreSerializedChildrenListing .empty () << Endl
1139
- << " Children count: " << path->GetChildren ().size () << Endl
1140
- << " Alive children count: " << path->GetAliveChildren () << Endl
1141
- << " Dir alter version: " << path->DirAlterVersion << Endl
1141
+ << " Children count: " << path->GetChildren ().size () << Endl
1142
+ << " Alive children count: " << path->GetAliveChildren () << Endl
1143
+ << " Dir alter version: " << path->DirAlterVersion << Endl
1142
1144
<< " User attrs alter version " << path->UserAttrs ->AlterVersion << Endl
1143
1145
<< " User attrs count " << path->UserAttrs ->Attrs .size () << Endl
1144
1146
<< " DbRefCount count " << path->DbRefCount << Endl
@@ -1256,22 +1258,22 @@ struct TSchemeShard::TTxMonitoring : public NTabletFlatExecutor::TTransactionBas
1256
1258
1257
1259
TAG (TH4) {str << " TxState info " << opId << " </a>" ;}
1258
1260
PRE () {
1259
- str << " TxType: " << TTxState::TypeName (txState.TxType ) << Endl
1260
- << " TargetPathId: " << LinkToPathInfo (txState.TargetPathId ) << Endl
1261
- << " SourcePathId: " << LinkToPathInfo (txState.SourcePathId ) << Endl
1262
- << " State: " << TTxState::StateName (txState.State ) << Endl
1263
- << " MinStep: " << txState.MinStep << Endl
1264
- << " ReadyForNotifications: " << txState.ReadyForNotifications << Endl
1265
- << " DataTotalSize: " << txState.DataTotalSize << Endl
1266
- << " TxShardsListFinalized: " << txState.TxShardsListFinalized << Endl
1267
- << " SchemeOpSeqNo: " << txState.SchemeOpSeqNo .Generation << " :" << txState.SchemeOpSeqNo .Round << Endl
1268
- << " StartTime: " << txState.StartTime << Endl
1269
- << " Shards count: " << txState.Shards .size () << Endl
1270
- << " Shards in progress count: " << txState.ShardsInProgress .size () << Endl
1271
- << " SchemeChangeNotificationReceived count: " << txState.SchemeChangeNotificationReceived .size () << Endl
1272
- << " SplitDescription: " << (txState.SplitDescription ? txState.SplitDescription ->ShortDebugString () : " " ) << Endl
1273
- << " Dependent operations count: " << operation->DependentOperations .size () << Endl
1274
- << " Wait operations count: " << operation->WaitOperations .size () << Endl;
1261
+ str << " TxType: " << TTxState::TypeName (txState.TxType ) << Endl
1262
+ << " TargetPathId: " << LinkToPathInfo (txState.TargetPathId ) << Endl
1263
+ << " SourcePathId: " << LinkToPathInfo (txState.SourcePathId ) << Endl
1264
+ << " State: " << TTxState::StateName (txState.State ) << Endl
1265
+ << " MinStep: " << txState.MinStep << Endl
1266
+ << " ReadyForNotifications: " << txState.ReadyForNotifications << Endl
1267
+ << " DataTotalSize: " << txState.DataTotalSize << Endl
1268
+ << " TxShardsListFinalized: " << txState.TxShardsListFinalized << Endl
1269
+ << " SchemeOpSeqNo: " << txState.SchemeOpSeqNo .Generation << " :" << txState.SchemeOpSeqNo .Round << Endl
1270
+ << " StartTime: " << txState.StartTime << Endl
1271
+ << " Shards count: " << txState.Shards .size () << Endl
1272
+ << " Shards in progress count: " << txState.ShardsInProgress .size () << Endl
1273
+ << " SchemeChangeNotificationReceived count: " << txState.SchemeChangeNotificationReceived .size () << Endl
1274
+ << " SplitDescription: " << (txState.SplitDescription ? txState.SplitDescription ->ShortDebugString () : " " ) << Endl
1275
+ << " Dependent operations count: " << operation->DependentOperations .size () << Endl
1276
+ << " Wait operations count: " << operation->WaitOperations .size () << Endl;
1275
1277
}
1276
1278
1277
1279
TAG (TH4) {str << " Dependent operations for txId " << opId.GetTxId () << " </a>" ;}
0 commit comments