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

shell: improve copy_data/clear_data/count_data to support HashKey/SortKey/Value filters #292

Merged
merged 6 commits into from
Feb 27, 2019

Conversation

qinzuoyan
Copy link
Contributor

No description provided.

@neverchanje
Copy link
Contributor

neverchanje commented Feb 26, 2019

感觉这几个命令很多代码都是重复的,应该要抽出来做成公共函数,可以提个 issue 做这个事情

@qinzuoyan
Copy link
Contributor Author

qinzuoyan commented Feb 27, 2019

感觉这几个命令很多代码都是重复的,应该要抽出来做成公共函数,可以提个 issue 做这个事情

我已经抽过一次了,你看看scan_data_contextscan_data_next。现在也就是对参数的解析还可以抽一下。
加了个issue: #293

}
std::vector<pegasus::pegasus_client::pegasus_scanner *> tmp_scanners;
tmp_scanners.push_back(scanners[partition]);
tmp_scanners.swap(scanners);
Copy link
Member

Choose a reason for hiding this comment

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

这里应该会有内存泄漏

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

neverchanje
neverchanje previously approved these changes Feb 27, 2019
@qinzuoyan qinzuoyan merged commit d1c6601 into master Feb 27, 2019
@qinzuoyan qinzuoyan deleted the qinzuoyan branch February 27, 2019 08:28
qinzuoyan added a commit that referenced this pull request Feb 27, 2019
neverchanje pushed a commit to neverchanje/pegasus that referenced this pull request Jul 13, 2019
…tKey/Value filters (apache#292)

Former-commit-id: 025e991da23d58c849ba79fc5688031dadfb75c0 [formerly d1c6601]
Former-commit-id: 3e7e460c459a479a44cda9e90825de5ad6a52254
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.

4 participants