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

Support keys for select by type #179

Merged
merged 5 commits into from Sep 7, 2017
Merged

Support keys for select by type #179

merged 5 commits into from Sep 7, 2017

Conversation

Leviathan1995
Copy link
Contributor

No description provided.

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") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

大小写

@@ -126,11 +126,15 @@ class MgetCmd : public Cmd {

class KeysCmd : public Cmd {
public:
KeysCmd() {}
KeysCmd() : type_("a") {}
Copy link
Collaborator

Choose a reason for hiding this comment

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

all

@KernelMaker KernelMaker merged commit 5520b30 into OpenAtomFoundation:master Sep 7, 2017
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
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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* remove unused code

* remove unused code

* remove unused code

* remove unused code

* add copyright

* fix by review comments (#213)

Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (#214)

* fix by review comments
Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (#216)

* fix by review comments
---------

Co-authored-by: wangshaoyi <[email protected]>

* Optimize rsync wangsy (#217)

* fix by review comments

Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (#218)

* fix by review comments
---------

Co-authored-by: wangshaoyi <[email protected]>

---------

Co-authored-by: wangshaoyi <[email protected]>
Co-authored-by: Yuecai Liu <[email protected]>
Co-authored-by: chejinge <[email protected]>
Co-authored-by: luky116 <[email protected]>
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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* remove unused code

* remove unused code

* remove unused code

* remove unused code

* add copyright

* fix by review comments (OpenAtomFoundation#213)

Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (OpenAtomFoundation#214)

* fix by review comments
Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (OpenAtomFoundation#216)

* fix by review comments
---------

Co-authored-by: wangshaoyi <[email protected]>

* Optimize rsync wangsy (OpenAtomFoundation#217)

* fix by review comments

Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (OpenAtomFoundation#218)

* fix by review comments
---------

Co-authored-by: wangshaoyi <[email protected]>

---------

Co-authored-by: wangshaoyi <[email protected]>
Co-authored-by: Yuecai Liu <[email protected]>
Co-authored-by: chejinge <[email protected]>
Co-authored-by: luky116 <[email protected]>
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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* remove unused code

* remove unused code

* remove unused code

* remove unused code

* add copyright

* fix by review comments (OpenAtomFoundation#213)

Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (OpenAtomFoundation#214)

* fix by review comments
Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (OpenAtomFoundation#216)

* fix by review comments
---------

Co-authored-by: wangshaoyi <[email protected]>

* Optimize rsync wangsy (OpenAtomFoundation#217)

* fix by review comments

Co-authored-by: wangshaoyi <[email protected]>

* fix by review comments (OpenAtomFoundation#218)

* fix by review comments
---------

Co-authored-by: wangshaoyi <[email protected]>

---------

Co-authored-by: wangshaoyi <[email protected]>
Co-authored-by: Yuecai Liu <[email protected]>
Co-authored-by: chejinge <[email protected]>
Co-authored-by: luky116 <[email protected]>
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