Geo: Display secondary replication lag on console (if lag > 0 seconds)
requested to merge 9217-warn-on-git-fetch-over-ssh-if-the-secondary-is-lagging-the-primary into master
What does this MR do?
This MR introduces the ability to provide a console_message
which will be displayed by gitlab-shell
(gitlab-shell!287 (merged)) if present.
For EE and Geo setups, we display the DB replication lag on the customers console if the lag > 0 seconds.
What are the relevant issue numbers?
- https://gitlab.com/gitlab-org/gitlab-ee/issues/9217
- CE port https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26692
- gitlab-shell part gitlab-shell!287 (merged)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary [ ] Documentation created/updated via this MR[ ] Documentation reviewed by technical writer or follow-up review issue created-
Tests added for this feature/bug [ ] Tested in all supported browsers-
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides [ ] Conforms to the database guides-
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process. -
Security reports checked/validated by reviewer
Closes #9217 (closed)
Edited by Ash McKenzie