This repository was archived by the owner on Feb 8, 2024. It is now read-only.
Commit 8f45d92
rgw_sal_motr: [CORTX-32697] support user remove with purge data
Problem: During Remove User code-flow till the DeleteOp is instantiated for
each obj from a bucket, we don't have the access to req_state ptr
via RGWObjectCtx. This causes the addb.set_id(rctx) to fail, as it
tries to access the req_id from null req_state ptr.
Solution: To avoid the situation, guarded the addb.set_id() call by checking
if we have the req_state ptr accesible and generated the unique req_id
per delete obj request.
Signed-off-by: Sumedh Anantrao Kulkarni <[email protected]>1 parent 94c56d0 commit 8f45d92
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2071 | 2071 | | |
2072 | 2072 | | |
2073 | 2073 | | |
2074 | | - | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
2075 | 2085 | | |
2076 | 2086 | | |
2077 | 2087 | | |
| |||
0 commit comments