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.97k stars 314 forks source link

refactor(replica_stub): Encapsulate a public accessable validate_replica_dir() #1935

Closed acelyc111 closed 6 months ago

acelyc111 commented 6 months ago

Encapsulate a public accessable validate_replica_dir(), then we can reuse it in CLI tools, for example https://github.com/apache/incubator-pegasus/pull/1930.