Repository navigation
Conversation
|
Ticket title is 'Handle container create and destroy for incremental reintegration' |
9e73aef to
d0991f9
Compare
|
Test stage Unit Test on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16810/1/display/redirect |
|
Test stage Unit Test bdev with memcheck on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16810/1/display/redirect |
d0991f9 to
3042144
Compare
|
Test stage Unit Test bdev on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16810/3/display/redirect |
6e09ce5 to
4ddc327
Compare
|
Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-16810/6/display/redirect |
4a55fad to
0d6c143
Compare
|
resolve merge conflict. |
|
Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16810/10/execution/node/1540/log |
435c766 to
4078980
Compare
|
Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16810/12/execution/node/1594/log |
|
Rebuild_ec timeout because of DAOS-17657. |
|
Ping reviewers, Thanks! |
4078980 to
f4af36a
Compare
|
Something wrong caused the PR closing unexpectedly. |
|
Replaced by #16903 |
When incrementally reintegrate some target, before changing the pool map, the PS leader will set pool_prop_recov_cont (a new pool property in RDB) to indicate that the recovering containers for the pool is inprocess. And then the PS leader will send POOL_RECOV_CONT RPC to related target to be reintegrated with the PS leader known containers list for the pool.
During the POOL_RECOV_CONT RPC process, it is possible that someone wants to create or destroy some container(s), then the PS leader will reset the pool_prop_recov_cont in RDB at the beginning of handling related request.
When POOL_RECOV_CONT RPC is replied, the PS leader will know container(s) changes via checking such property. And then it will ask related sponsor to restart the reintegration.
Scuh mechanism will not block container create/destroy during recovering containers. And even if PS leader was switched, it still can work.
For the target being reintegrated, when receives POOL_RECOV_CONT RPC, it will do two cycles scan:
Go through the PS leader offered containers list, for each container, if it does not exist locally, then create it.
Iterate containers in the local VOS pool, for the one that is not in the PS leader offered list, destroy it. For efficiency, we build the containers tree with the PS leader offered list.
Steps for the author:
After all prior steps are complete: