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.99k stars 312 forks source link

refactor(partition_resolver): Make get_partition_index() as public accessable #1934

Closed acelyc111 closed 8 months ago

acelyc111 commented 8 months ago

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