Skip to content
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

Fix the VFolder decorator to perform an early cut for unintended cases #3463

Closed
HyeockJinKim opened this issue Jan 15, 2025 — with Lablup-Issue-Syncer · 0 comments · Fixed by #3465
Closed

Fix the VFolder decorator to perform an early cut for unintended cases #3463

HyeockJinKim opened this issue Jan 15, 2025 — with Lablup-Issue-Syncer · 0 comments · Fixed by #3465
Assignees

Comments

@HyeockJinKim
Copy link
Collaborator

HyeockJinKim commented Jan 15, 2025

Summary  

  • The VFolder handler should only process a single VFolder, and if multiple VFolders with the same name exist, it should trigger an error.

Steps to Reproduce  

  1. When there are multiple VFolders with the same name, the system returns the value for the first successful request.
  2. The behavior of which action will be executed is not deterministic.

Expected Behavior  

  • When there are multiple VFolders with the same name, an error is triggered.
    • In this situation, if the client wants to delete vfolder, they must request the VFolder ID for each one.

Actual Behavior  

  • If one of the VFolders with the same name is requested to be deleted, an unintended VFolder may be deleted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant