This is interesting @z_painter
I can see in the brand new 18.10 docs, there is a section where the -u registry is used: https://docs.gitlab.com/administration/packages/container_registry_metadata_database/#check-the-health-of-online-garbage-collection
Those are all for running gitlab-ctl commands as the registry user when the DB is internal.
There is a note in the configuration steps section that says:
When using an external database, omit the
-u registryoption from the commands throughout this documentation.
So I feel like this setting will change depending on whether the DB is internal or external and also what username the DB is configured with?
Let's ask one of the engineers from the container registry team?
@jaime could you help please?
@luciezhao, @tmike and I had an internal conversation around this based on questions from a customer (ZD - internal).
I used DAP to generate this docs MR and it looks solid to me but could you please ask a Geo Engineer to review as well?
This MR adds critical documentation warnings about the risk of data loss when promoting a Geo secondary site that has selective synchronization enabled.
When selective synchronization is configured on a secondary site, only a subset of data is replicated (specific groups, shards, or organizations). Currently:
ee/lib/gitlab/geo/geo_tasks.rb) to check if selective sync is enabledThis MR adds:
doc/administration/geo/replication/selective_synchronization.md titled "Promoting a secondary site with selective synchronization enabled" that:
If you are a GitLab team member and only adding documentation, do not add any of the following labels:
~"frontend"~"backend"~"type::bug"~"database"These labels cause the MR to be added to code verification QA issues.
Documentation-related MRs should be reviewed by a Technical Writer for a non-blocking review, based on Documentation Guidelines and the Style Guide.
If you aren't sure which tech writer to ask, use roulette or ask in the #docs Slack channel.
Default behavior, say something like Default behavior when you close an issue.Configuring GDK, say something like Configure GDK.Alvin Gounder (529b5909) at 18 Mar 03:12
Docs: Add warning about promoting secondary with selective sync
This change adds a helpful instruction on how to connect to the registry metadata database in the documentation section for monitoring GitLab's container registry.
If you are a GitLab team member and only adding documentation, do not add any of the following labels:
~"frontend"~"backend"~"type::bug"~"database"These labels cause the MR to be added to code verification QA issues.
Documentation-related MRs should be reviewed by a Technical Writer for a non-blocking review, based on Documentation Guidelines and the Style Guide.
If you aren't sure which tech writer to ask, use roulette or ask in the #docs Slack channel.
Default behavior, say something like Default behavior when you close an issue.Configuring GDK, say something like Configure GDK.Alvin Gounder (f60d8942) at 17 Mar 08:12
Add note on how to connect to registry db
Add new workflow for investigating DB perf issues (gitlab-com/content-sites/handbook!18764 - merged) has been merged
Will ask for feedback from colleagues and iterate...
Alvin Gounder (302b5a67) at 17 Mar 05:35
Alvin Gounder (c61c3bf6) at 17 Mar 05:35
Merge branch 'alvin-main-patch-bbaa' into 'main'
... and 1 more commit
When customers report performance issues on self-managed instances, Support Engineers often investigate these issues in isolation without checking if similar problems have been identified or resolved in GitLab.com or GitLab Dedicated environments.
This workflow will help to investigate and drive resolution of database-related performance issues reported by customers through collaboration with Engineering teams.
Please verify the check list and ensure to tick them off before the MR is merged.
Alvin Gounder (302b5a67) at 17 Mar 04:40
Fix remaining code quality findings
Alvin Gounder (d938b560) at 17 Mar 03:58
Fix code quality scan findings
Alvin Gounder (88c8aea1) at 17 Mar 03:08
Apply Priyan's excellent suggestion
This workflow MR is related to this RFC: gitlab-com/support/support-team-meta#7411