]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PendingReleaseNotes: notes on whiteouts vs pgnls 15575/head
authorSage Weil <sage@redhat.com>
Thu, 8 Jun 2017 13:41:25 +0000 (09:41 -0400)
committerSage Weil <sage@redhat.com>
Thu, 8 Jun 2017 13:41:25 +0000 (09:41 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes

index 1f6e0760b47bf0a09dca5c7f7c0b82e05ecb3ed8..8f83ad86097f7f6dce854322ce9eb107da266506 100644 (file)
   while the 128MB limit is a bit high but not unreasonable.  If you have an
   application written directly to librados that is using objects larger than
   128MB you may need to adjust ``osd_max_object_size``.
+
+* The semantics of the 'rados ls' and librados object listing
+  operations have always been a bit confusing in that "whiteout"
+  objects (which logically don't exist and will return ENOENT if you
+  try to access them) are included in the results.  Previously
+  whiteouts only occurred in cache tier pools.  In luminous, logically
+  deleted but snapshotted objects now result in a whiteout object, and
+  as a result they will appear in 'rados ls' results, even though
+  trying to read such an object will result in ENOENT.  The 'rados
+  listsnaps' operation can be used in such a case to enumerate which
+  snapshots are present.
+
+  This may seem a bit strange, but is less strange than having a
+  deleted-but-snapshotted object not appear at all and be completely
+  hidden from librados's ability to enumerate objects.  Future
+  versions of Ceph will likely include an alternative object
+  enumeration interface that makes it more natural and efficient to
+  enumerate all objects along with their snapshot and clone metadata.