-
Notifications
You must be signed in to change notification settings - Fork 312
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
shell: improve copy_data/clear_data/count_data to support HashKey/SortKey/Value filters #292
Conversation
感觉这几个命令很多代码都是重复的,应该要抽出来做成公共函数,可以提个 issue 做这个事情 |
我已经抽过一次了,你看看 |
} | ||
std::vector<pegasus::pegasus_client::pegasus_scanner *> tmp_scanners; | ||
tmp_scanners.push_back(scanners[partition]); | ||
tmp_scanners.swap(scanners); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里应该会有内存泄漏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
…tKey/Value filters (apache#292) Former-commit-id: 025e991da23d58c849ba79fc5688031dadfb75c0 [formerly d1c6601] Former-commit-id: 3e7e460c459a479a44cda9e90825de5ad6a52254
No description provided.