osd: Fix bug with zero of whole object + truncate in same request
Fast EC asserts if a request contains both a zero for the whole object plus a truncate to less than the original object size in the same request. An alternative request that produces the same result is a request that truncates an object to 0 and then truncates it to a size less that the original object size. The problem is an optimization that tries to delete and recreate the object which is then followed by trying to reduce the object size. Fixes: https://tracker.ceph.com/issues/78340 Signed-off-by: Bill Scales <bill_scales@uk.ibm.com>
B
Bill Scales committed
7af09f408d4190b05bf4c36be6c721ab349a5775
Parent: ac9a88d