fix: command CONFIG SET *
reply array length error(#2320)
#2323
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.
#2320
1.修复结果:
2.统一了该命令的回复方式,统一使用成员变量
res_
回复,由于不需要返回值对应修改了ConfigSet
方法的签名3.修复了
AppendStringVector
的回复值4.疑问:
pika/src/pika_admin.cc
Line 2064 in 77e87bb
中表示要与
rewrite
同步,但是检查后发现configset
和configrewrite
方法并没有完全同步,这正常吗?5.疑问:延续2,是否要继续修改ConfigCmd::Do方法中用到的其他方法的签名,统一成
ConfigSet
的返回形式(用res_
成员变量返回)?