Commit 8217ae2
committed
DAOS-19116 object: drop reference when fail in obj_ioc_begin_lite
It is possible that obj_ioc_begin_lite() maybe failed because
of empty or stale pool map on server. At that time, the logic
has already held reference against the container open handle.
Under such case, directly returning error# to the caller may
cause reference leak as to such container cannot be properly
stopped in subsequent operations.
Signed-off-by: Fan Yong <fan.yong@hpe.com>1 parent d305d2d commit 8217ae2
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2252 | 2252 | | |
2253 | 2253 | | |
2254 | 2254 | | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
2255 | 2258 | | |
2256 | 2259 | | |
2257 | 2260 | | |
| |||
2355 | 2358 | | |
2356 | 2359 | | |
2357 | 2360 | | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
2358 | 2365 | | |
2359 | 2366 | | |
2360 | 2367 | | |
| |||
0 commit comments