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

Bug-97: tagObject Produces Orphaned Object #103

Merged
merged 38 commits into from
Sep 5, 2024

Conversation

doulikecookiedough
Copy link
Contributor

@doulikecookiedough doulikecookiedough commented Aug 27, 2024

Summary of Changes:

  • unTagObject has been extracted from tagObject and is now triggered by the actual calling method storeHashStoreRefsFiles which may run into an exception and necessitates the call
  • unTagObject's synchronization has been removed, and in place of, new guard rails to ensure that the identifiers (pid, cid) are locked before proceeding
    • This will throw a new custom exception (to ensure thread safety): IdentifierNotLockedException
  • Synchronization methods' access modifiers were changed from private to protected to assist with testing
  • junit tests have been updated

…verwrite a pid reference file and update junit test
…as possible by wrapping relevant code blocks in try-catch statements
…fore proceeding with untagging, and add new junit tests
@doulikecookiedough doulikecookiedough merged commit 18df348 into develop Sep 5, 2024
1 check passed
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 this pull request may close these issues.

2 participants