Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL查询结果增加同步延迟状态展示 #303

Merged
merged 1 commit into from
Jun 30, 2019

Conversation

hhyo
Copy link
Owner

@hhyo hhyo commented Jun 30, 2019

  • 仅在出现延迟,即Seconds_Behind_Master>0时展示,null和0都不展示
  • 多源复制的仅获取第一个Channel的延迟状态
  • 查询账号需要授予REPLICATION CLIENT权限,否则不会展示
  • 查看表结构不会展示

image

@codecov
Copy link

codecov bot commented Jun 30, 2019

Codecov Report

Merging #303 into master will increase coverage by 0.02%.
The diff coverage is 93.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #303      +/-   ##
==========================================
+ Coverage   85.05%   85.07%   +0.02%     
==========================================
  Files          66       66              
  Lines        8658     8672      +14     
==========================================
+ Hits         7364     7378      +14     
  Misses       1294     1294
Impacted Files Coverage Δ
sql/engines/mysql.py 90.62% <100%> (+0.14%) ⬆️
sql/engines/tests.py 99.77% <100%> (ø) ⬆️
sql/tests.py 100% <100%> (ø) ⬆️
sql/utils/data_masking.py 98.02% <100%> (+0.02%) ⬆️
sql/query.py 53.95% <66.66%> (+0.67%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78a1863...b826326. Read the comment docs.

@hhyo hhyo merged commit 2a5c06d into master Jun 30, 2019
@hhyo hhyo deleted the feature/mysql-slave-status branch July 6, 2019 02:51
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.

1 participant