Project

General

Profile

Actions

Bug #80957

open
KH KH

tools/cephfs_mirror: Optimize directory rename with incremental sync

Bug #80957: tools/cephfs_mirror: Optimize directory rename with incremental sync

Added by Kotresh Hiremath Ravishankar 2 months ago. Updated about 2 months ago.

Status:
Triaged
Priority:
Normal
Category:
Performance/Resource Usage
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
umbrella, tentacle, squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

The directory rename issue is fixed with https://github.com/ceph/ceph/pull/70757
But the downside is that rename of directory would sync all the children afresh as pointed out
here - https://github.com/ceph/ceph/pull/70757#issuecomment-5775812054

It's not straight forward to fix it as well. Explore all the cases and avoid re-sync at least
in possible cases and fall back to full sync in complicated cases.

VS Updated by Venky Shankar 2 months ago Actions #1

  • Subject changed from cephsf_mirroring: Optimize directory rename with incremental sync to tools/cephfs_mirror: Optimize directory rename with incremental sync

LS Updated by Li Sheng about 2 months ago Actions #2

I'm working on the optimization for the simple directory rename case. Could you assign the tracker to me? Thanks!

VS Updated by Venky Shankar about 2 months ago Actions #3

  • Status changed from New to Triaged
  • Assignee set to Kotresh Hiremath Ravishankar
  • Target version set to v22.0.0
  • Source set to Development

Li Sheng wrote in #note-2:

I'm working on the optimization for the simple directory rename case. Could you assign the tracker to me? Thanks!

Kotresh mentioned that he too has plans of improving the initial sync. Handing it over to him. @lukerli - please reach out to Kotresh regarding your improvement proposal so that duplicate work can be avoided.

Actions

Also available in: PDF Atom