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

Make lock guard movable & accept generalized arguments #1636

Merged
merged 3 commits into from
Aug 5, 2023

Conversation

PragmaTwice
Copy link
Member

@PragmaTwice PragmaTwice commented Aug 4, 2023

  • make LockManager::MultiGet and LockGuard accept arguments of more types (Slice, string_view, string...)
  • remove source file
  • make LockGuard and MultiLockGuard movable
  • move from storage/ to common/

Copy link
Member

@mapleFU mapleFU left a comment

Choose a reason for hiding this comment

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

is -clang-analyzer-cplusplus.InnerPointer a new rule here?

@PragmaTwice
Copy link
Member Author

PragmaTwice commented Aug 5, 2023

is -clang-analyzer-cplusplus.InnerPointer a new rule here?

it is removed due to a false positive.
https://github.com/apache/kvrocks/actions/runs/5767527255/job/15637332818

@PragmaTwice PragmaTwice merged commit 04c5a92 into apache:unstable Aug 5, 2023
25 checks passed
p1u3o pushed a commit to p1u3o/incubator-kvrocks that referenced this pull request Aug 15, 2023
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.

3 participants