Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat(dup): add dsn_replica_dup_test to CI testing and fix http outputs #424

Merged
merged 2 commits into from
Mar 24, 2020

Conversation

neverchanje
Copy link
Contributor

@neverchanje neverchanje commented Mar 23, 2020

We didn't have dsn_replica_dup_test run in travis-ci. So this PR adds it to build.sh.

Meta's HTTP output is also changed.

For http://xxx/meta/app/duplication?name=temp I remove not_confirmed_mutations_num, because replica-server does not sync "last_committed_decree" to meta, which is unable to calculate the result by part.last_committed_decree - it->second.stored_decree;.

So the final result is:

{
    "1": {
        "create_ts": "2020-03-21 08:30:42",
        "dupid": 1584750642,
        "fail_mode": "FAIL_SLOW",
        "remote": "onebox2",
        "status": "DS_START"
    },
    "appid": 2
}

If we want to check not_confirmed_mutations_num of a specified table, we can query for all the replica nodes via http://xxx/replica/duplication?appid=2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants