Add new flag in CLIENT LIST for import-source client#1398
Conversation
…n import-mode is off Signed-off-by: lvyanqi.lyq <lvyanqi.lyq@alibaba-inc.com>
Signed-off-by: lvyanqi.lyq <lvyanqi.lyq@alibaba-inc.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## unstable #1398 +/- ##
============================================
+ Coverage 70.82% 70.87% +0.04%
============================================
Files 118 118
Lines 63561 63592 +31
============================================
+ Hits 45020 45071 +51
+ Misses 18541 18521 -20
|
zuiderkwast
left a comment
There was a problem hiding this comment.
Looks good in general. Thanks!
It's a good idea, but let's move this idea to #668. |
Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Signed-off-by: Yanqi Lv <lvyanqi.lyq@alibaba-inc.com>
Thanks for your review and suggestion. I like this idea 😄 |
zuiderkwast
left a comment
There was a problem hiding this comment.
LGTM, thanks!
@valkey-io/core-team please approve the interface changes mentioned in the top comment.
Co-authored-by: Binbin <binloveplay1314@qq.com> Signed-off-by: Yanqi Lv <lvyanqi.lyq@alibaba-inc.com>
|
@lyq2333 Can you open a doc PR to add the flag here: https://github.com/valkey-io/valkey-doc/blob/main/commands/client-list.md |
OK, I will include it in the introduction of import mode. |
- Add new flag "I" in `CLIENT LIST` for import-source client - Add `DEBUG_CONFIG` for import-mode - Allow import-source status to be turned off when import-mode is off Fixes valkey-io#1350 and valkey-io#1185 (comment). --------- Signed-off-by: lvyanqi.lyq <lvyanqi.lyq@alibaba-inc.com> Signed-off-by: Yanqi Lv <lvyanqi.lyq@alibaba-inc.com> Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Co-authored-by: Binbin <binloveplay1314@qq.com>
This PR is for valkey-io/valkey#1185 and valkey-io/valkey#1398. --------- Signed-off-by: lvyanqi.lyq <lvyanqi.lyq@alibaba-inc.com> Signed-off-by: Viktor Söderqvist <viktor.soderqvist@est.tech> Co-authored-by: Viktor Söderqvist <viktor.soderqvist@est.tech>
Fixes #1350 and #1185 (comment).
CLIENT LISTfor import-source clientDEBUG_CONFIGfor import-mode