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
10653fab
Commit
10653fab
authored
Jul 07, 2021
by
Andreas Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add relative bloat level to logging
parent
2d15b97d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lib/gitlab/database/reindexing/reindex_concurrently.rb
lib/gitlab/database/reindexing/reindex_concurrently.rb
+3
-1
No files found.
lib/gitlab/database/reindexing/reindex_concurrently.rb
View file @
10653fab
...
@@ -61,7 +61,8 @@ module Gitlab
...
@@ -61,7 +61,8 @@ module Gitlab
index:
index
.
identifier
,
index:
index
.
identifier
,
table:
index
.
tablename
,
table:
index
.
tablename
,
estimated_bloat_bytes:
bloat_size
,
estimated_bloat_bytes:
bloat_size
,
index_size_before_bytes:
ondisk_size_before
index_size_before_bytes:
ondisk_size_before
,
relative_bloat_level:
index
.
relative_bloat_level
)
)
duration
=
Benchmark
.
realtime
do
duration
=
Benchmark
.
realtime
do
...
@@ -77,6 +78,7 @@ module Gitlab
...
@@ -77,6 +78,7 @@ module Gitlab
estimated_bloat_bytes:
bloat_size
,
estimated_bloat_bytes:
bloat_size
,
index_size_before_bytes:
ondisk_size_before
,
index_size_before_bytes:
ondisk_size_before
,
index_size_after_bytes:
index
.
ondisk_size_bytes
,
index_size_after_bytes:
index
.
ondisk_size_bytes
,
relative_bloat_level:
index
.
relative_bloat_level
,
duration_s:
duration
.
round
(
2
)
duration_s:
duration
.
round
(
2
)
)
)
end
end
...
...
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