Skip to content

vrepl: more documentation and fix stats#5905

Merged
deepthi merged 5 commits intovitessio:masterfrom
planetscale:ss-more-docs
Mar 10, 2020
Merged

vrepl: more documentation and fix stats#5905
deepthi merged 5 commits intovitessio:masterfrom
planetscale:ss-more-docs

Conversation

@sougou
Copy link
Copy Markdown
Contributor

@sougou sougou commented Mar 9, 2020

Stats reporting was sometimes inaccurate. This change also fixes those issues.

sougou added 4 commits March 8, 2020 21:10
Also fix an incorrect test.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Not all code paths were updating the stats. This was causing
the stats reported in /debug/status to be unreliable. This refactor
keeps the stats and reporting in sync by performing the updates
at the lower level functions that also update the vreplication table.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
@sougou sougou requested a review from deepthi March 9, 2020 04:13
Copy link
Copy Markdown
Collaborator

@deepthi deepthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except for a few nits/typos and questions.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
@deepthi deepthi merged commit 53fcd36 into vitessio:master Mar 10, 2020
@sougou sougou deleted the ss-more-docs branch March 10, 2020 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants