mirror of
https://github.com/ceph/ceph
synced 2024-12-22 03:22:00 +00:00
fbebd83537
Expose public methods that include a new output argument to indicate whether there are more keys to fetch or not. Mark the old interfaces deprecated. Signed-off-by: Sage Weil <sage@redhat.com>
13 lines
698 B
Plaintext
13 lines
698 B
Plaintext
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.
|