Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #208147
Closed
Open
Issue created Feb 26, 2020 by Markus Koller@toupeira🌴Contributor

Group Level Wiki: BE Support Geo replication

In ~"group::knowledge" we've started to work on group wikis for 12.9 (&240 (closed)). There's no timeline on the release yet, but we'll keep it behind a feature flag until it's ready and currently expect that to take a few months.

I saw #121589 (closed), so I wanted to raise a similar issue for group wikis to discuss any potential challenges with Geo support.

So far we know:

  • Each group can have one wiki repository.
    • We haven't settled on a path format yet, @brodock suggested going with @groups/#{hashed_path}/#{hashed_id}.wiki.git at #196053 (comment 294529826).
  • This is the first repository type on groups.
    • Other types that we might add in the future are design management repos.

Activity columns for Geo

For project wikis, we're updating the projects.last_repository_updated_at column both synchronously for changes made through GitLab itself (via web UI or API), as well as a second time asynchronously for all changes made to the wiki repository (via the post-receive hook). This column indicates to Geo that the repository needs to be replicated, though we're also throttling updates to this column in certain cases.

For group wikis we need to check if we need a similar signaling mechanism for Geo, and we could also consider removing the first synchronous update because we're already doing it in the asynchronous call.

See discussions at !37439 (diffs, comment 405488754) and !37439 (diffs, comment 406180066).

/cc @toon @dsatcher

Edited Sep 04, 2020 by Markus Koller
Assignee
Assign to
Time tracking