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: merge new vertices when drp is missing #460

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

trungnotchung
Copy link
Member

@trungnotchung trungnotchung commented Feb 12, 2025

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

  • remove function mergeWithoutDrp
  • update logic when store drp state and acl state to make code more readable
  • check if the drp exists before apply operation and store/update drp state
  • update _checkWriterPermission because we still have the acl state even if the drp is missing

Related Issues and PRs

Added/updated tests?

  • Yes
  • No, because why: just merged two functions. current tests covered all the cases
  • I need help with writing tests

Additional Info

add instructions or screenshots on what you might think is relevant or instructions on how to manually test it

[optional] Do we need to perform any post-deployment tasks?

Copy link

github-actions bot commented Feb 12, 2025

Flamegraph.com report

flamegraph.pprof
See in flamegraph.com

Created by Flamegraph.com Github Action

@trungnotchung trungnotchung changed the title remove mergeWithoutDrp fix: remove mergeWithoutDrp Feb 12, 2025
@trungnotchung trungnotchung changed the title fix: remove mergeWithoutDrp fix: merge new vertices when drp is missing Feb 12, 2025
Copy link
Collaborator

@winprn winprn left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@anhnd350309 anhnd350309 left a comment

Choose a reason for hiding this comment

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

lgtm

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.

update ACL and ACL State when drp is missing
3 participants