You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
during an overwrite for objects belonging to
an unversioned bucket and version suspended
bucket in Writer::complete() method.
Signed-off-by: Pritha Srivastava <[email protected]>
Copy file name to clipboardExpand all lines: src/rgw/driver/d4n/rgw_sal_d4n.cc
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2769,16 +2769,14 @@ int D4NFilterWriter::prepare(optional_yield y)
2769
2769
return next->prepare(y);
2770
2770
} else {
2771
2771
//for non-versioned buckets or version suspended buckets, we need to delete the older dirty blocks of the object from the cache as dirty blocks do not get evicted
2772
-
//alternatively, we could add logic to delete this lazily
2773
2772
if (!object->get_bucket()->versioned() || (object->get_bucket()->versioned() && !object->get_bucket()->versioning_enabled())) {
0 commit comments