Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gitaly gitaly
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 656
    • Issues 656
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 35
    • Merge requests 35
  • Requirements
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • 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
  • gitalygitaly
  • Issues
  • #3019

Closed
Open
Created Aug 06, 2020 by Sami Hiltunen@samihiltunenMaintainer

Display read-only repositories only with dataloss by default

Currently the dataloss command displays every outdated repository. Secondaries might be temporarily outdated as new writes arrive on the primary. Having a way to display these temporarily outdated repositories is helpful for evaluating how the replication is working. Most commonly the dataloss command is used after a failover to identify which repositories are in read-only mode and require administrator action. dataloss command should allow for displaying only the read-only repositories to ease the administrator in resolving the read-only modes after a failover.

The solution:

  1. dataloss should clearly display in the output if a repository is in read-only mode by adding (read-only) qualifier next to the repository path.
  2. dataloss should by default only repositories in read-only mode.
  3. dataloss should have -all flag to dispaly every outdated repository.
Edited Aug 06, 2020 by Sami Hiltunen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking