radosgw can still get the object even if this object's physical file is removed on OSDs

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

 



Hi ceph-users,

I uploaded an object successfully to radosgw with 3 replicas. And I located all the physical paths of 3 replicas on different OSDs.

i.e, one of the 3 physical paths is 
/var/lib/ceph/osd/ceph-2/current/3.5_head/DIR_D/default.4896.65\\u20131014\\u1__head_0646563D__3

Then I manually deleted all the 3 replica files on OSDs, but this object can still get from radosgw with http code 200 even I cleaned all the caches on both radosgw and OSDs by 'echo 3 > /proc/sys/vm/drop_caches'. Only after I restarted the 3 OSDs, get request will return 404.

What did I miss? Is it not right to clean cache in that way? 

Thanks.
  
--
Regards,
Zhi
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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