Re: RGW bucket sync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Basically same thing that happens when you overwrite any object. New data is sent from the client, and a new Head is created pointing at it. The old head is removed, and the data marked for garbage collection if it's unused (which it won't be, in this case, since another Head points at it).

Daniel

On 9/9/20 4:55 AM, Eugen Block wrote:
I think rgw will make a header that points to the original data only, so
you are right in that there is no huge data copy operation.

Alright, that would explain it. But what happens when I overwrite the object in bucket1 with different content? Because I'm still able to get the original content from bucket2/file although it's overwritten in bucket1.


Zitat von Janne Johansson <icepic.dz@xxxxxxxxx>:

Den ons 9 sep. 2020 kl 10:06 skrev Eugen Block <eblock@xxxxxx>:

Hi *,

I'm wondering about what actually happens in the ceph cluster if I
copy/sync the content of one bucket into a different bucket.

How does this work? It seems as if there's (almost) no client traffic
(except for the cp command, of course) to recreate the file in the
second bucket, as if the OSDs are directly instructed to create copies
of the objects.


I think rgw will make a header that points to the original data only, so
you are right in that there is no huge data copy operation.

--
May the most significant bit of your life be positive.


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux