CPD RPC may miss modification check on server

Description

An CPD RPC may contain multiple sub-operations, including 0 ~ N sub-modification. Simply checking the RPC opc (DAOS_OBJ_RPC_CPD) cannot detect whether it contains modifications or not. As so miss modification related check and caused some IO trouble. For example, one of DAOS users reported:

       The problem I encountered :   At the beginning of reintegrate, the modify options with ORF_REINTEGRATING_IO should return DER_UPDATE_AGAIN and retry because pool_discard not complete. But the IO from ds_obj_cpd_handler ignore this check and write the data on nvme success, and then was delete by obj_discard soon。

Activity

Show:

Liang ZhenJune 7, 2024 at 6:49 AM

landed to master & 2.6

Fan YongJune 6, 2024 at 3:53 PM

Any updates on landing the 2.6 backport?

CI tes for is in processing, not completed yet.

Scott P.June 6, 2024 at 1:19 PM

Any updates on landing the 2.6 backport?

Liang ZhenJune 3, 2024 at 12:50 PM

Landed to master

Fan YongJune 3, 2024 at 5:52 AM

Fixed

Details

Assignee

Reporter

Priority

Affects versions

Required for Version

Labels

Components

Patch URL

Story Points

Bug Exposure

2-High

Bug Source

Product Bug

Number of Occurrences

1

Approved to Merge

Created May 28, 2024 at 3:01 PM
Updated June 7, 2024 at 6:49 AM
Resolved June 7, 2024 at 6:49 AM