@@ -128,17 +128,6 @@ namespace NKikimr {
128
128
THullCommitFinished::TypeToString (NotifyType), CommitMsg->CommitRecord .ToString ().data (),
129
129
Metadata.RemovedHugeBlobs .ToString ().data ()));
130
130
131
- // notify PDisk about dirty chunks (the ones from which huge slots are being freed right now)
132
- THashSet<TChunkIdx> chunkIds;
133
- for (const TDiskPart& p : Metadata.RemovedHugeBlobs ) {
134
- chunkIds.insert (p.ChunkIdx );
135
- }
136
- if (chunkIds) {
137
- // TODO(alexvru): uncommit when PDisk stops breaking tests when this is enabled
138
- // ctx.Send(Ctx->PDiskCtx->PDiskId, new NPDisk::TEvMarkDirty(Ctx->PDiskCtx->Dsk->Owner,
139
- // Ctx->PDiskCtx->Dsk->OwnerRound, {chunkIds.begin(), chunkIds.end()}));
140
- }
141
-
142
131
ctx.Send (Ctx->LoggerId , CommitMsg.release ());
143
132
}
144
133
@@ -253,6 +242,13 @@ namespace NKikimr {
253
242
CommitRecord.DeleteChunks = std::move (Metadata.DeleteChunks );
254
243
CommitRecord.DeleteToDecommitted = Metadata.DeleteToDecommitted ;
255
244
245
+ // notify PDisk about dirty chunks (the ones from which huge slots are being freed right now)
246
+ THashSet<TChunkIdx> chunkIds;
247
+ for (const TDiskPart& p : Metadata.RemovedHugeBlobs ) {
248
+ chunkIds.insert (p.ChunkIdx );
249
+ }
250
+ CommitRecord.DirtyChunks = {chunkIds.begin (), chunkIds.end ()};
251
+
256
252
// validate its contents
257
253
VerifyCommitRecord (CommitRecord);
258
254
VerifyRemovedHugeBlobs (Metadata.RemovedHugeBlobs );
0 commit comments