diff options
author | Yuri Weinstein <yuri.weinstein@gmail.com> | 2016-11-23 01:34:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-23 01:34:54 +0100 |
commit | 0b6169612bbea5350b0a0cdd4f022607f6229d33 (patch) | |
tree | 2671ff5871c83157f121ffb46d12c528cba769f9 /PendingReleaseNotes | |
parent | Merge pull request #12064 from majianpeng/rocksdb-perf (diff) | |
parent | PendingReleaseNotes: note on new omap limits (diff) | |
download | ceph-0b6169612bbea5350b0a0cdd4f022607f6229d33.tar.xz ceph-0b6169612bbea5350b0a0cdd4f022607f6229d33.zip |
Merge pull request #12059 from liewegas/wip-osd-omap-limits
osd: set server-side limits on omap get operations
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Diffstat (limited to 'PendingReleaseNotes')
-rw-r--r-- | PendingReleaseNotes | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/PendingReleaseNotes b/PendingReleaseNotes index dcc4b64d4ba..a62c0f6e266 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -98,3 +98,12 @@ OSD: change the prefix from fs_* to os_*, because commit_latency and … jerasure_neon, shec_generic, shec_sse3, shec_sse4, and shec_neon. If you use any of these plugins directly you will see a warning in the mon log file. Please switch to using just 'jerasure' or 'shec'. + +* The librados omap get_keys and get_vals operations include a start key and a + limit on the number of keys to return. The OSD now imposes a configurable + limit on the number of keys and number of total bytes it will respond with, + which means that a librados user might get fewer keys than they asked for. + This is necessary to prevent careless users from requesting an unreasonable + amount of data from the cluster in a single operation. The new limits are + configured with `osd_max_omap_entries_per_request`, defaulting to 131,072, and + 'osd_max_omap_bytes_per_request', defaulting to 4MB. |