Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gitaly gitaly
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 676
    • Issues 676
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 36
    • Merge requests 36
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • 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
13.3
Milestone
13.3 (Past due)
Assign milestone
Time tracking