Skip to content

[NC? | NSFS] Add support for bucket tagging in NSFS #8234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

tangledbytes
Copy link
Member

@tangledbytes tangledbytes commented Jul 26, 2024

Explain the changes

This PR attempts to add support for bucket tagging in NSFS.

The tags are simply stored in the config file for now. xattrs were also considered for the same purpose but decided against it at least in this iteration as some file systems (eg. AWS EFS) do not support extended attributes.

  • Doc added/updated
  • Tests added

@tangledbytes tangledbytes changed the title [NC? | NSFS] add support for bucket tagging in NSFS [NC? | NSFS] Add support for bucket tagging in NSFS Jul 26, 2024
@tangledbytes tangledbytes force-pushed the utkarsh/nsfs/bucket-tagging branch 2 times, most recently from 72f0810 to 83c0f7b Compare July 29, 2024 14:21
@tangledbytes tangledbytes marked this pull request as ready for review July 29, 2024 14:21
Copy link
Member

@guymguym guymguym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tangledbytes is there any test coverage for this that we can enable in CI?

@tangledbytes tangledbytes force-pushed the utkarsh/nsfs/bucket-tagging branch from 83c0f7b to 5def050 Compare August 5, 2024 11:41
Signed-off-by: Utkarsh Srivastava <[email protected]>

use update_config_file instead of direct file write

Signed-off-by: Utkarsh Srivastava <[email protected]>

add tests for bucket tagging

Signed-off-by: Utkarsh Srivastava <[email protected]>
@tangledbytes tangledbytes force-pushed the utkarsh/nsfs/bucket-tagging branch from 5def050 to 5a5eced Compare August 6, 2024 08:20
@tangledbytes
Copy link
Member Author

I have added tests here. Merging this PR for now.

@tangledbytes tangledbytes merged commit 3882f49 into noobaa:master Aug 6, 2024
10 checks passed
@romayalon romayalon mentioned this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants