@@ -1231,11 +1231,60 @@ bool TSchemeShard::CheckApplyIf(const NKikimrSchemeOp::TModifyScheme &scheme, TS
1231
1231
auto path = TPath::Init (pathId, this );
1232
1232
auto pathVersion = GetPathVersion (path);
1233
1233
1234
- if (item.HasCheckGeneralVersion () && ! item.GetCheckGeneralVersion ()) {
1234
+ if (item.HasCheckEntityVersion () && item.GetCheckEntityVersion ()) {
1235
1235
switch (path.Base ()->PathType ) {
1236
1236
case NKikimrSchemeOp::EPathTypePersQueueGroup:
1237
1237
actualVersion = pathVersion.GetPQVersion ();
1238
1238
break ;
1239
+ case NKikimrSchemeOp::EPathType::EPathTypeSubDomain:
1240
+ case NKikimrSchemeOp::EPathType::EPathTypeExtSubDomain:
1241
+ actualVersion = pathVersion.GetSubDomainVersion ();
1242
+ break ;
1243
+ case NKikimrSchemeOp::EPathTypeTable:
1244
+ actualVersion = pathVersion.GetTableSchemaVersion ();
1245
+ break ;
1246
+ case NKikimrSchemeOp::EPathType::EPathTypeBlockStoreVolume:
1247
+ actualVersion = pathVersion.GetBSVVersion ();
1248
+ break ;
1249
+ case NKikimrSchemeOp::EPathType::EPathTypeFileStore:
1250
+ actualVersion = pathVersion.GetFileStoreVersion ();
1251
+ break ;
1252
+ case NKikimrSchemeOp::EPathType::EPathTypeKesus:
1253
+ actualVersion = pathVersion.GetKesusVersion ();
1254
+ break ;
1255
+ case NKikimrSchemeOp::EPathType::EPathTypeRtmrVolume:
1256
+ actualVersion = pathVersion.GetRTMRVersion ();
1257
+ break ;
1258
+ case NKikimrSchemeOp::EPathType::EPathTypeSolomonVolume:
1259
+ actualVersion = pathVersion.GetSolomonVersion ();
1260
+ break ;
1261
+ case NKikimrSchemeOp::EPathType::EPathTypeTableIndex:
1262
+ actualVersion = pathVersion.GetTableIndexVersion ();
1263
+ break ;
1264
+ case NKikimrSchemeOp::EPathType::EPathTypeColumnStore:
1265
+ actualVersion = pathVersion.GetColumnStoreVersion ();
1266
+ break ;
1267
+ case NKikimrSchemeOp::EPathType::EPathTypeColumnTable:
1268
+ actualVersion = pathVersion.GetColumnTableVersion ();
1269
+ break ;
1270
+ case NKikimrSchemeOp::EPathType::EPathTypeCdcStream:
1271
+ actualVersion = pathVersion.GetCdcStreamVersion ();
1272
+ break ;
1273
+ case NKikimrSchemeOp::EPathType::EPathTypeSequence:
1274
+ actualVersion = pathVersion.GetSequenceVersion ();
1275
+ break ;
1276
+ case NKikimrSchemeOp::EPathType::EPathTypeReplication:
1277
+ actualVersion = pathVersion.GetReplicationVersion ();
1278
+ break ;
1279
+ case NKikimrSchemeOp::EPathType::EPathTypeExternalTable:
1280
+ actualVersion = pathVersion.GetExternalTableVersion ();
1281
+ break ;
1282
+ case NKikimrSchemeOp::EPathType::EPathTypeExternalDataSource:
1283
+ actualVersion = pathVersion.GetExternalDataSourceVersion ();
1284
+ break ;
1285
+ case NKikimrSchemeOp::EPathType::EPathTypeView:
1286
+ actualVersion = pathVersion.GetViewVersion ();
1287
+ break ;
1239
1288
default :
1240
1289
actualVersion = pathVersion.GetGeneralVersion ();
1241
1290
break ;
0 commit comments