Re: Etag change of a parent object

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

 





On 12/13/23 05:27, Janne Johansson wrote:
Den ons 13 dec. 2023 kl 10:57 skrev Rok Jaklič <rjaklic@xxxxxxxxx>:

Hi,

shouldn't etag of a "parent" object change when "child" objects are added
on s3?

Example:
1. I add an object to test bucket: "example/" - size 0
     "example/" has an etag XYZ1
2. I add an object to test bucket: "example/test1.txt" - size 12
     "example/test1.txt" has an etag XYZ2
     "example/" has an etag XYZ1 ... should this change?

I understand that object storage is not hierarchical by design and objects
are "not connected" by some other means than the bucket name.


So, if they are not connected, then the first 0-sized object did not change.
If it doesn't change, it should not have a different ETag. Simple as that.


Expanding a bit: etag is related to the contents of the object only. It has nothing to do with any other object. As such, it will never change.

Daniel
_______________________________________________
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