Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b9e04e1

Browse files
Merge pull request #9236 from tangledbytes/utkarsh/fix/finalize_restore-enotsup
[NSFS | NC | GLACIER] Fix `_finalize_restore` ENOTSUP issue
2 parents 5374f8a + d2b74a9 commit b9e04e1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

‎src/sdk/glacier_tapecloud.js‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -536,11 +536,9 @@ class TapeCloudGlacier extends Glacier {
536536
throw error;
537537
}
538538

539-
const xattr_get_keys = [Glacier.XATTR_RESTORE_REQUEST];
540-
if (fs_context.use_dmapi) {
541-
xattr_get_keys.push(Glacier.GPFS_DMAPI_XATTR_TAPE_PREMIG);
542-
}
543-
const stat = await fh.stat(fs_context, { xattr_get_keys });
539+
// stat will by default read GPFS_DMAPI_XATTR_TAPE_PREMIG and
540+
// user.noobaa.restore.request
541+
const stat = await fh.stat(fs_context, {});
544542

545543
// This is a hacky solution and would work only if
546544
// config.NSFS_GLACIER_DMAPI_ENABLE is enabled. This prevents

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /