Project

General

Profile

Actions

Bug #63178

closed

multisite: don't write data/bilog entries for lifecycle transitions/deletes

Added by Casey Bodley 7 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
multisite lifecycle backport_processed
Backport:
reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

lifecycle processing should happen independently on all zones, so the lifecycle deletes and transitions probably don't need to be replicated. heavy lifecycle activity can generate a lot of replication logs and slow down multisite replication significantly

rgw::sal::Object::transition() and rgw::sal::Object::DeleteOp should be extended to take a bool log_op to control whether replication logs need to be written. the calls from lifecycle can all pass false, but other calls should reproduce the existing checks for need_to_log_data() that currently happen at lower levels in rgw_rados.cc


Related issues 1 (0 open1 closed)

Copied to rgw - Backport #64088: reef: multisite: don't write data/bilog entries for lifecycle transitions/deletesResolvedJane ZhuActions
Actions

Also available in: Atom PDF