apache / apache/incubator-pegasus
Feature: support force no idempotent wirte when doing duplication
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.1k
- Forks
- 328
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the duplication implementation and the admin-cli configuration entry point. Determine how the master currently rejects non-idempotent mutations and how duplication transfers mutations to a backup cluster. Done means an admin-configurable force-dup option allows these mutations through and the behavior is covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, databases, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100