ceph-csi/internal
John Mulligan e99b996bea journal: fix reading omaps from objects with large key counts
The implementation of getOMapValues assumed that the number of key-value
pairs assigned to the object would be close to the number of keys
being requested. When the number of keys on the object exceeded the
"listExcess" value the function would fail to read additional keys
even if they existed in the omap.
This change sets a large fixed "chunk size" value and keeps reading
key-value pairs as long as the callback gets called and increments
the numKeys counter.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 8a41cd03a5)
2020-11-06 07:46:07 +00:00
..
cephfs cephfs: fix wrong error check in CreateVolume rollback action 2020-10-20 05:57:38 +00:00
csi-common cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
journal journal: fix reading omaps from objects with large key counts 2020-11-06 07:46:07 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 15:35:13 +00:00
rbd rbd: fix problem with deletion of a namespaced image 2020-09-25 17:05:19 +00:00
util util: add helper to validate ROX request 2020-09-10 15:05:38 +00:00