daos
daos copied to clipboard
DAOS-11375 object: add daos_obj_generate_oid_by_rf2
Now we have two different fault domains: rank and node. daos_obj_generate_oid_by_rf() use default fault domain which might be wrong. Eg, creating container(with rf_lvl:1)
Introduce another helper daos_obj_generate_oid_by_rf2() which is aware of fault domain.
Required-githooks: true Signed-off-by: Wang Shilong [email protected]
Bug-tracker data: Ticket title is 'fio_small.py failed to create container with -1003' Status is 'In Review' Labels: 'daily_test' https://daosio.atlassian.net/browse/DAOS-11375
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9979/1/execution/node/145/log
can you please explain how this domain plays into the oclass selection?
can you please explain how this domain plays into the oclass selection?
See dc_set_oclass() for example number of domains affects group size when object class is unknown, and we have check to compare number of domains and group size, it will return invalid if grp_size > domain_nr.
So it is quite important to get correct number of domains when generating OID.
@daos-stack/daos-gatekeeper pylint and Jira report failure are CI issue and not related to this PR, other tests passed.
@daos-stack/daos-gatekeeper PR modified api minor version which touched Sconcript, there are some other pylint errors triggerd there, but it is not related to this PR
@daos-stack/daos-gatekeeper PR is ready for landing now.