Commit f2721d0
committed
DAOS-18945 container: bypass space check in flags tx update (#18365)
When a pool's RDB has reached capacity usage to the point where further
rdb_tx_update() can return -DER_NOSPACE, a container destroy operation
(though epxecting to free RDB space) may itself encounter -DER_NOSPACE.
It is possibly due to cont_destroy() first performing rdb_tx_update()
before a second phase cont_destroy_post() performs (space-relieving)
operations rdb_tx_delete() and rdb_tx_destroy_kvs().
With this change, convert the container_flags update in cont_destroy()
to a "critical" tx update, bypassing RDB free space checks.
Features: container ObjectMetadata
Signed-off-by: Kenneth Cain <kenneth.cain@hpe.com>1 parent ab8193f commit f2721d0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1637 | 1637 | | |
1638 | 1638 | | |
1639 | 1639 | | |
1640 | | - | |
| 1640 | + | |
1641 | 1641 | | |
1642 | 1642 | | |
1643 | 1643 | | |
| |||
0 commit comments