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

Feature: support force no idempotent wirte when doing duplication #1907

Open ninsmiracle opened 9 months ago

ninsmiracle commented 9 months ago

Feature Request

In our online situations , there are some Pegasus user need to copy some mutation from master cluster to backup cluster via Pegasus duplication function . However , user have used some No-idempotent write to master cluster. In current Pegasus version , master cluster will block those No-idempotent mutations. So we need a force dup option for those mutations.

Describe the feature you'd like: An force dup option , which can config by admin-cli. And then , master cluster can receive and dup those No-idempotent to backup cluster via duplication.