ceph-csi/internal/journal
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
..
omap.go journal: fix reading omaps from objects with large key counts 2020-11-06 06:42:22 +00:00
voljournal.go rbd: remove unused credentials argument from StoreImageID() 2020-10-15 06:46:41 +00:00