]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PendingReleaseNotes: mention old clients vs new OSDs 12950/head
authorSage Weil <sage@redhat.com>
Wed, 18 Jan 2017 13:07:08 +0000 (07:07 -0600)
committerSage Weil <sage@redhat.com>
Fri, 20 Jan 2017 22:52:18 +0000 (17:52 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes

index 6514b9a7c63236694e6f4c6c082c8d3f287779ce..15b212da2fe907f4189b08b9218f4a95aaa9de2b 100644 (file)
@@ -1,12 +1,23 @@
 12.0.0
 ------
 
- * The omap_get_keys and omap_get_vals librados functions have been deprecated
-   in favor of omap_get_vals2 and omap_get_keys2.  The new methods include an
-   output argument indicating whether there are additional keys left to fetch.
-   Previously this had to be inferred from the requested key count vs the
-   number of keys returned, but this breaks with new OSD-side limits on the
-   number of keys or bytes that can be returned by a single omap request.  These
-   limits were introduced by kraken but were effectively disabled (by setting a
-   very large limit of 1 GB) because users of the newly deprecated interface
-   cannot tell whether they should fetch more keys or not.
+ * Some varients of the omap_get_keys and omap_get_vals librados
+   functions have been deprecated in favor of omap_get_vals2 and
+   omap_get_keys2.  The new methods include an output argument
+   indicating whether there are additional keys left to fetch.
+   Previously this had to be inferred from the requested key count vs
+   the number of keys returned, but this breaks with new OSD-side
+   limits on the number of keys or bytes that can be returned by a
+   single omap request.  These limits were introduced by kraken but
+   are effectively disabled by default (by setting a very large limit
+   of 1 GB) because users of the newly deprecated interface cannot
+   tell whether they should fetch more keys or not.  In the case of
+   the standalone calls in the C++ interface
+   (IoCtx::get_omap_{keys,vals}), librados has been updated to loop on
+   the client side to provide a correct result via multiple calls to
+   the OSD.  In the case of the methods used for building
+   multi-operation transactions, however, client-side looping is not
+   practical, and the methods have been deprecated.  Note that use of
+   either the IoCtx methods on older librados versions or the
+   deprecated methods on any version of librados will lead to
+   incomplete results if/when the new OSD limits are enabled.