Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
40ea88f3
Commit
40ea88f3
authored
Oct 11, 2021
by
Pavlo Strokov
Committed by
Evan Read
Oct 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
documentation: Document usage of list-untracked-repositories sub-command
parent
5e8f3a30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
doc/administration/gitaly/praefect.md
doc/administration/gitaly/praefect.md
+23
-0
No files found.
doc/administration/gitaly/praefect.md
View file @
40ea88f3
...
@@ -1591,3 +1591,26 @@ because of:
...
@@ -1591,3 +1591,26 @@ because of:
-
An in-flight RPC call targeting the repository.
-
An in-flight RPC call targeting the repository.
If this occurs, run
`remove-repository`
again.
If this occurs, run
`remove-repository`
again.
### Manually list untracked repositories
> [Introduced](https://gitlab.com/gitlab-org/gitaly/-/merge_requests/3926) in GitLab 14.4.
The
`list-untracked-repositories`
Praefect sub-command lists repositories of the Gitaly Cluster that both:
-
Exist for at least one Gitaly storage.
-
Aren't tracked in the Praefect database.
The command outputs:
-
Result to
`STDOUT`
and the command's logs.
-
Errors to
`STDERR`
.
Each entry is a complete JSON string with a newline at the end (configurable using the
`-delimiter`
flag). For example:
```
shell
sudo
/opt/gitlab/embedded/bin/praefect
-config
/var/opt/gitlab/praefect/config.toml list-untracked-repositories
{
"virtual_storage"
:
"default"
,
"storage"
:
"gitaly-1"
,
"relative_path"
:
"@hashed/ab/cd/abcd123456789012345678901234567890123456789012345678901234567890.git"
}
{
"virtual_storage"
:
"default"
,
"storage"
:
"gitaly-1"
,
"relative_path"
:
"@hashed/ab/cd/abcd123456789012345678901234567890123456789012345678901234567891.git"
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment