apache / apache/incubator-pegasus

Feature: support force no idempotent wirte when doing duplication

Open
#1,907 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.