Open ninsmiracle opened 9 months ago
This PR's base function is in line with expectations , however I was requested by business department to add more matrix for surveillance system about this feature. I will update this PR in recently days.
Now , when user config force_send_no_idempotent_when_duplication
to true . We can dup non-idempotent write to backup cluster , and we can verify the data consistency by check the number rows of pegasus app.
app in master-cluster
app in backup-cluster
And because the retries for non-idempotent writes will make influence of the consistency between two clusters. So we should show the metric like following picture:
show in backup cluster:
What problem does this PR solve?
1907
What is changed and how does it work?
Tests
when user want to force dup non-idempotent mutations. Type following command in admin-cli: