Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 39,511
    • Issues 39,511
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1,222
    • Merge requests 1,222
  • Requirements
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #208147

Closed
Open
Created Feb 26, 2020 by Markus Koller@toupeiraMaintainer

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