-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support keys for select by type #179
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KernelMaker
reviewed
Aug 30, 2017
src/pika_kv.cc
Outdated
@@ -340,12 +340,25 @@ void KeysCmd::DoInitial(PikaCmdArgsType &argv, const CmdInfo* const ptr_info) { | |||
return; | |||
} | |||
pattern_ = argv[1]; | |||
if (argv.size() == 3) { | |||
if (argv[2] == "string" || argv[2] == "zset" || argv[2] == "set" || argv[2] == "list" || argv[2] == "hash") { |
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.
大小写
KernelMaker
reviewed
Aug 30, 2017
include/pika_kv.h
Outdated
@@ -126,11 +126,15 @@ class MgetCmd : public Cmd { | |||
|
|||
class KeysCmd : public Cmd { | |||
public: | |||
KeysCmd() {} | |||
KeysCmd() : type_("a") {} |
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.
all
TimothyZhang023
pushed a commit
to TimothyZhang023/pika
that referenced
this pull request
Oct 13, 2017
* Support keys for select by type * limit the number of parameter * rename parameters * fix code * remove redundant code
wangshao1
pushed a commit
to wangshao1/pika
that referenced
this pull request
Jul 14, 2023
* add read meta file and data
AlexStocks
pushed a commit
that referenced
this pull request
Jul 26, 2023
…ess (#1805) * define rsync related header file and proto * feat:add throttle (#167) * add_throttle * feat: implement rsync network tansform (#169) implement rsync network transfer Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix action (#171) * fix action * fix * feat: add load local meta file (#175) * add load meta file * [feat] add rsync client/server code (#177) * implement rsync network transfer * add rsyncclient to syncslaveslot (#182) add rsyncclient to syncslaveslot * feat: add read meta file and data (#179) * add read meta file and data * fix compile error (#183) * fix bug * add rsyncclient to syncslaveslot * fix compile error * fix compile error --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix compile error (#184) * fix bug * optimize: add_throttle (#189) optimize throttle * rsyncclient periodically flush meta table (#192) rsyncclient periodically flush meta table * change rsync response (#190) * change rsync response * add debug log for test * fix rsync client/server bugs * fix bugs * add debug log for test * fix bugs * fix bugs * fix bugs * rix rsync bugs (#194) * fix pika rsync bug * fix bugs * fix bugs * fix bugs 1 * fix bugs * fix rsync bugs (#195) * add debug log for test * fix rsync client/server bugs * fix bugs * add debug log for test * fix bugs * fix bugs * fix bugs * fix bugs * fix bugs * fix bugs 1 * fix bugs --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * remove unused code * remove unused code * remove unused code * remove unused code * add copyright * fix by review comments (#213) Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (#214) * fix by review comments Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (#216) * fix by review comments --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * Optimize rsync wangsy (#217) * fix by review comments Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (#218) * fix by review comments --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> Co-authored-by: Yuecai Liu <38887641+luky116@users.noreply.github.com> Co-authored-by: chejinge <945997690@qq.com> Co-authored-by: luky116 <luky116@126.com>
bigdaronlee163
pushed a commit
to bigdaronlee163/pika
that referenced
this pull request
Jun 8, 2024
* Support keys for select by type * limit the number of parameter * rename parameters * fix code * remove redundant code
bigdaronlee163
pushed a commit
to bigdaronlee163/pika
that referenced
this pull request
Jun 8, 2024
…ess (OpenAtomFoundation#1805) * define rsync related header file and proto * feat:add throttle (OpenAtomFoundation#167) * add_throttle * feat: implement rsync network tansform (OpenAtomFoundation#169) implement rsync network transfer Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix action (OpenAtomFoundation#171) * fix action * fix * feat: add load local meta file (OpenAtomFoundation#175) * add load meta file * [feat] add rsync client/server code (OpenAtomFoundation#177) * implement rsync network transfer * add rsyncclient to syncslaveslot (OpenAtomFoundation#182) add rsyncclient to syncslaveslot * feat: add read meta file and data (OpenAtomFoundation#179) * add read meta file and data * fix compile error (OpenAtomFoundation#183) * fix bug * add rsyncclient to syncslaveslot * fix compile error * fix compile error --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix compile error (OpenAtomFoundation#184) * fix bug * optimize: add_throttle (OpenAtomFoundation#189) optimize throttle * rsyncclient periodically flush meta table (OpenAtomFoundation#192) rsyncclient periodically flush meta table * change rsync response (OpenAtomFoundation#190) * change rsync response * add debug log for test * fix rsync client/server bugs * fix bugs * add debug log for test * fix bugs * fix bugs * fix bugs * rix rsync bugs (OpenAtomFoundation#194) * fix pika rsync bug * fix bugs * fix bugs * fix bugs 1 * fix bugs * fix rsync bugs (OpenAtomFoundation#195) * add debug log for test * fix rsync client/server bugs * fix bugs * add debug log for test * fix bugs * fix bugs * fix bugs * fix bugs * fix bugs * fix bugs 1 * fix bugs --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * remove unused code * remove unused code * remove unused code * remove unused code * add copyright * fix by review comments (OpenAtomFoundation#213) Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (OpenAtomFoundation#214) * fix by review comments Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (OpenAtomFoundation#216) * fix by review comments --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * Optimize rsync wangsy (OpenAtomFoundation#217) * fix by review comments Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (OpenAtomFoundation#218) * fix by review comments --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> Co-authored-by: Yuecai Liu <38887641+luky116@users.noreply.github.com> Co-authored-by: chejinge <945997690@qq.com> Co-authored-by: luky116 <luky116@126.com>
cheniujh
pushed a commit
to cheniujh/pika
that referenced
this pull request
Sep 24, 2024
…ess (OpenAtomFoundation#1805) * define rsync related header file and proto * feat:add throttle (OpenAtomFoundation#167) * add_throttle * feat: implement rsync network tansform (OpenAtomFoundation#169) implement rsync network transfer Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix action (OpenAtomFoundation#171) * fix action * fix * feat: add load local meta file (OpenAtomFoundation#175) * add load meta file * [feat] add rsync client/server code (OpenAtomFoundation#177) * implement rsync network transfer * add rsyncclient to syncslaveslot (OpenAtomFoundation#182) add rsyncclient to syncslaveslot * feat: add read meta file and data (OpenAtomFoundation#179) * add read meta file and data * fix compile error (OpenAtomFoundation#183) * fix bug * add rsyncclient to syncslaveslot * fix compile error * fix compile error --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix compile error (OpenAtomFoundation#184) * fix bug * optimize: add_throttle (OpenAtomFoundation#189) optimize throttle * rsyncclient periodically flush meta table (OpenAtomFoundation#192) rsyncclient periodically flush meta table * change rsync response (OpenAtomFoundation#190) * change rsync response * add debug log for test * fix rsync client/server bugs * fix bugs * add debug log for test * fix bugs * fix bugs * fix bugs * rix rsync bugs (OpenAtomFoundation#194) * fix pika rsync bug * fix bugs * fix bugs * fix bugs 1 * fix bugs * fix rsync bugs (OpenAtomFoundation#195) * add debug log for test * fix rsync client/server bugs * fix bugs * add debug log for test * fix bugs * fix bugs * fix bugs * fix bugs * fix bugs * fix bugs 1 * fix bugs --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * remove unused code * remove unused code * remove unused code * remove unused code * add copyright * fix by review comments (OpenAtomFoundation#213) Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (OpenAtomFoundation#214) * fix by review comments Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (OpenAtomFoundation#216) * fix by review comments --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * Optimize rsync wangsy (OpenAtomFoundation#217) * fix by review comments Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> * fix by review comments (OpenAtomFoundation#218) * fix by review comments --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> --------- Co-authored-by: wangshaoyi <wangshaoyi@meituan.com> Co-authored-by: Yuecai Liu <38887641+luky116@users.noreply.github.com> Co-authored-by: chejinge <945997690@qq.com> Co-authored-by: luky116 <luky116@126.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.