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

Remove useless memory allocation & string field in lock manager & guard #1637

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

PragmaTwice
Copy link
Member

@PragmaTwice PragmaTwice commented Aug 5, 2023

  • use std::vector<std::mutex> instead of std::vector<std::unique_ptr<std::mutex>>
  • add LockManager::Get
  • remove string field in LockGuard

@PragmaTwice PragmaTwice merged commit f254695 into apache:unstable Aug 6, 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.

2 participants