Re: handling lost objects

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

 



On Thu, Oct 21, 2010 at 4:41 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> I wonder if a better strategy would be to _not_ delete the objects, but to
> create a placeholder, and mark it such that any attempts to read it return
> EIO or ESTALE or something along those lines.  That would let an
> application know when data is gone instead of 'silently' (well, at the
> behest of a desperate administrator) losing the data.  Things like remove
> and replace would succeed, but reads would not.  Stale objects could then
> always be removed on a per-object basis.

It sounds promising. I wonder what the metadata servers should do if
they get an ESTALE?

Others using the object store would probably appreciate the
flexibility of being able to read other objects which didn't get lost.

We probably want to make the "ceph health" command comment about lost
objects if they exist.

Colin
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux