Skip to content

Commit

Permalink
remove oplog delete hack
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerkesni committed Oct 8, 2024
1 parent ddf0197 commit 2f000b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/api/objectDelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ function objectDeleteInternal(authInfo, request, log, isExpiration, cb) {
delOptions.replayId = objectMD.uploadId;
}

if (!_bucketRequiresOplogUpdate(bucketMD)) {
delOptions.doesNotNeedOpogUpdate = true;
}
// if (!_bucketRequiresOplogUpdate(bucketMD)) {
// delOptions.doesNotNeedOpogUpdate = true;
// }

return services.deleteObject(bucketName, objectMD, objectKey,
delOptions, false, log, isExpiration ?
Expand Down

0 comments on commit 2f000b4

Please sign in to comment.