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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
631113f9
Commit
631113f9
authored
Aug 02, 2019
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport of
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14943
Docker Registry Replication
parent
55da8b27
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
db/migrate/20190612111201_add_geo_container_repository_counters.rb
...e/20190612111201_add_geo_container_repository_counters.rb
+16
-0
db/schema.rb
db/schema.rb
+4
-0
doc/api/geo_nodes.md
doc/api/geo_nodes.md
+12
-0
No files found.
db/migrate/20190612111201_add_geo_container_repository_counters.rb
0 → 100644
View file @
631113f9
# frozen_string_literal: true
class
AddGeoContainerRepositoryCounters
<
ActiveRecord
::
Migration
[
5.1
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
def
change
change_table
:geo_node_statuses
do
|
t
|
t
.
column
:container_repositories_count
,
:integer
t
.
column
:container_repositories_synced_count
,
:integer
t
.
column
:container_repositories_failed_count
,
:integer
t
.
column
:container_repositories_registry_count
,
:integer
end
end
end
db/schema.rb
View file @
631113f9
...
...
@@ -1427,6 +1427,10 @@ ActiveRecord::Schema.define(version: 2019_08_02_235445) do
t
.
integer
"repositories_retrying_verification_count"
t
.
integer
"wikis_retrying_verification_count"
t
.
integer
"projects_count"
t
.
integer
"container_repositories_count"
t
.
integer
"container_repositories_synced_count"
t
.
integer
"container_repositories_failed_count"
t
.
integer
"container_repositories_registry_count"
t
.
index
[
"geo_node_id"
],
name:
"index_geo_node_statuses_on_geo_node_id"
,
unique:
true
end
...
...
doc/api/geo_nodes.md
View file @
631113f9
...
...
@@ -192,6 +192,10 @@ Example response:
"job_artifacts_failed_count"
:
nil
,
"job_artifacts_synced_missing_on_primary_count"
:
0
,
"job_artifacts_synced_in_percentage"
:
"0.00%"
,
"container_repositories_count"
:
3
,
"container_repositories_synced_count"
:
nil
,
"container_repositories_failed_count"
:
nil
,
"container_repositories_synced_in_percentage"
:
"0.00%"
,
"projects_count"
:
41
,
"repositories_failed_count"
:
nil
,
"repositories_synced_count"
:
nil
,
...
...
@@ -255,6 +259,10 @@ Example response:
"job_artifacts_failed_count"
:
1
,
"job_artifacts_synced_missing_on_primary_count"
:
0
,
"job_artifacts_synced_in_percentage"
:
"50.00%"
,
"container_repositories_count"
:
3
,
"container_repositories_synced_count"
:
nil
,
"container_repositories_failed_count"
:
nil
,
"container_repositories_synced_in_percentage"
:
"0.00%"
,
"projects_count"
:
41
,
"repositories_failed_count"
:
1
,
"repositories_synced_count"
:
40
,
...
...
@@ -334,6 +342,10 @@ Example response:
"job_artifacts_failed_count"
:
1
,
"job_artifacts_synced_missing_on_primary_count"
:
0
,
"job_artifacts_synced_in_percentage"
:
"50.00%"
,
"container_repositories_count"
:
3
,
"container_repositories_synced_count"
:
nil
,
"container_repositories_failed_count"
:
nil
,
"container_repositories_synced_in_percentage"
:
"0.00%"
,
"projects_count"
:
41
,
"repositories_failed_count"
:
1
,
"repositories_synced_count"
:
40
,
...
...
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