apache / incubator-pegasus

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
https://pegasus.apache.org/
Apache License 2.0
1.96k stars 310 forks source link

Parameters failed to be extracted while parsing add_dup command #2028

Closed empiredan closed 1 month ago

empiredan commented 1 month ago

While executing add_dup with remote_app_name and remote_replica_count specified, it seems that both failed to be recognized:

>>> add_dup test_dup1 target_cluster -s -a test_new1 -r 3 
adding duplication succeed [app: test_dup1, remote: target_cluster, appid: 5, dupid: 1716556955], checkpoint: true, remote_app_name: test_dup1]

The logging of meta server is as follows:

meta.log.20240523_190656_153:D2024-05-24 15:09:38.402 (1716534578402782584 25ad)   meta.meta_state0.01020003000004bc: meta_duplication_service.cpp:179:add_duplication(): add duplication for app(test_dup1), remote cluster name is target_cluster, remote app name is test_dup1, remote replica count is 0
empiredan commented 1 month ago

This issue has been fixed by https://github.com/apache/incubator-pegasus/pull/2027.