@@ -1769,7 +1769,8 @@ void TPDisk::ReplyErrorYardInitResult(TYardInit &evYardInit, const TString &str)
17691769 DriveModel.Speed (TDriveModel::OP_TYPE_WRITE), readBlockSize, writeBlockSize,
17701770 DriveModel.BulkWriteBlockSize (),
17711771 GetUserAccessibleChunkSize (), GetChunkAppendBlockSize (), OwnerSystem, 0 ,
1772- GetStatusFlags (OwnerSystem, evYardInit.OwnerGroupType ), TVector<TChunkIdx>(), error.Str ()));
1772+ GetStatusFlags (OwnerSystem, evYardInit.OwnerGroupType ), TVector<TChunkIdx>(),
1773+ Cfg->RetrieveDeviceType (), error.Str ()));
17731774 Mon.YardInit .CountResponse ();
17741775}
17751776
@@ -1816,7 +1817,8 @@ bool TPDisk::YardInitForKnownVDisk(TYardInit &evYardInit, TOwner owner) {
18161817 DriveModel.SeekTimeNs () / 1000ull , DriveModel.Speed (TDriveModel::OP_TYPE_READ),
18171818 DriveModel.Speed (TDriveModel::OP_TYPE_WRITE), readBlockSize, writeBlockSize,
18181819 DriveModel.BulkWriteBlockSize (), GetUserAccessibleChunkSize (), GetChunkAppendBlockSize (), owner,
1819- ownerRound, GetStatusFlags (OwnerSystem, evYardInit.OwnerGroupType ), ownedChunks, nullptr ));
1820+ ownerRound, GetStatusFlags (OwnerSystem, evYardInit.OwnerGroupType ), ownedChunks,
1821+ Cfg->RetrieveDeviceType (), nullptr ));
18201822 GetStartingPoints (owner, result->StartingPoints );
18211823 ownerData.VDiskId = vDiskId;
18221824 ownerData.CutLogId = evYardInit.CutLogId ;
@@ -1967,7 +1969,7 @@ void TPDisk::YardInitFinish(TYardInit &evYardInit) {
19671969 DriveModel.Speed (TDriveModel::OP_TYPE_WRITE), readBlockSize, writeBlockSize,
19681970 DriveModel.BulkWriteBlockSize (), GetUserAccessibleChunkSize (), GetChunkAppendBlockSize (), owner, ownerRound,
19691971 GetStatusFlags (OwnerSystem, evYardInit.OwnerGroupType ) | ui32 (NKikimrBlobStorage::StatusNewOwner), TVector<TChunkIdx>(),
1970- nullptr ));
1972+ Cfg-> RetrieveDeviceType (), nullptr ));
19711973 GetStartingPoints (result->PDiskParams ->Owner , result->StartingPoints );
19721974 WriteSysLogRestorePoint (new TCompletionEventSender (
19731975 this , evYardInit.Sender , result.Release (), Mon.YardInit .Results ), evYardInit.ReqId , {});
0 commit comments