ceph-csi/internal
John Mulligan 8a41cd03a5 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>
2020-11-06 06:42:22 +00:00
..
cephfs cephfs: drop unused Credentials from resizeVolume() 2020-10-28 08:02:12 +00:00
csi-common util: change member cap of CSIDriver struct 2020-10-21 12:30:18 +00:00
journal journal: fix reading omaps from objects with large key counts 2020-11-06 06:42:22 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 14:38:12 +00:00
rbd rbd: replace go-ceph GetParentInfo() with GetParent() 2020-11-03 08:00:12 +00:00
util util: NewCredentials() dont have any callers 2020-10-21 21:04:11 +00:00