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
![image](https://private-user-images.githubusercontent.com/65906820/296918563-8933a551-1052-4f89-86fc-2e4a422a02a0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NjM3OTAsIm5iZiI6MTczOTU2MzQ5MCwicGF0aCI6Ii82NTkwNjgyMC8yOTY5MTg1NjMtODkzM2E1NTEtMTA1Mi00Zjg5LTg2ZmMtMmU0YTQyMmEwMmEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIwMDQ1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYyMjAzOWZjYjYwYjM4NWNhMGJkNzZjYzE0OTQ3NTFiM2IxMDI1YWQyOGFiNzhkZDI1MGQzZjdjMDA3ZWYxNDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HB-RbhvCtoekTWQRSzf7t-7BWAPnFI0vdREiFs0IcwI)
1.修复结果:
2.统一了该命令的回复方式,统一使用成员变量
res_
回复,由于不需要返回值对应修改了ConfigSet
方法的签名3.修复了
AppendStringVector
的回复值4.疑问:https://github.com/OpenAtomFoundation/pika/blob/77e87bb725724039e5d8cbdac29addcee2620774/src/pika_admin.cc#L2064
中表示要与
rewrite
同步,但是检查后发现configset
和configrewrite
方法并没有完全同步,这正常吗?5.疑问:延续2,是否要继续修改ConfigCmd::Do方法中用到的其他方法的签名,统一成
ConfigSet
的返回形式(用res_
成员变量返回)?