HomeFreeBSD

Importing from cachefile can trip assertion

Description

Importing from cachefile can trip assertion

When importing from cachefile, it is possible that the builtin retry
logic will trip an assertion because it also fails to find the pool.
This fix addresses that case and returns the correct error message to
the user.

Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <gwilson@delphix.com>
Closes #13781

Details

Provenance
George Wilson <george.wilson@delphix.com>Authored on Aug 26 2022, 9:04 PM
Tony Hutter <hutter2@llnl.gov>Committed on Sep 14 2022, 12:59 AM
Parents
rGb1be0a5c151b: ZTS: Fix zpool_expand_001_pos
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG15b64fbc94cc: Importing from cachefile can trip assertion (authored by George Wilson <george.wilson@delphix.com>).Sep 14 2022, 12:59 AM