GDS-1322: simplify ensureAvailable0.