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
a4a3d02c
Commit
a4a3d02c
authored
Mar 02, 2021
by
Evan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move new section
parent
fe676e7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
doc/administration/object_storage.md
doc/administration/object_storage.md
+16
-16
No files found.
doc/administration/object_storage.md
View file @
a4a3d02c
...
@@ -739,22 +739,7 @@ following command:
...
@@ -739,22 +739,7 @@ following command:
Feature
.
disable
(
:use_workhorse_s3_client
)
Feature
.
disable
(
:use_workhorse_s3_client
)
```
```
### Multi-threaded copying
#### IAM Permissions
GitLab uses the
[
S3 Upload Part Copy API
](
https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
)
to accelerate the copying of files within a bucket. Ceph S3
[
prior to Kraken 11.0.2
](
https://ceph.com/releases/kraken-11-0-2-released/
)
does not support this and
[
returns a 404 error when files are copied during the upload process
](
https://gitlab.com/gitlab-org/gitlab/-/issues/300604
)
.
The feature can be disabled using the
`:s3_multithreaded_uploads`
feature flag. To disable the feature, ask a GitLab administrator with
[
Rails console access
](
feature_flags.md#how-to-enable-and-disable-features-behind-flags
)
to run the following command:
```
ruby
Feature
.
disable
(
:s3_multithreaded_uploads
)
```
### IAM Permissions
To set up an instance profile:
To set up an instance profile:
...
@@ -782,3 +767,18 @@ To set up an instance profile:
...
@@ -782,3 +767,18 @@ To set up an instance profile:
1.
[
Attach this role
](
https://aws.amazon.com/premiumsupport/knowledge-center/attach-replace-ec2-instance-profile/
)
1.
[
Attach this role
](
https://aws.amazon.com/premiumsupport/knowledge-center/attach-replace-ec2-instance-profile/
)
to the EC2 instance hosting your GitLab instance.
to the EC2 instance hosting your GitLab instance.
1.
Configure GitLab to use it via the
`use_iam_profile`
configuration option.
1.
Configure GitLab to use it via the
`use_iam_profile`
configuration option.
### Multi-threaded copying
GitLab uses the
[
S3 Upload Part Copy API
](
https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
)
to accelerate the copying of files within a bucket. Ceph S3
[
prior to Kraken 11.0.2
](
https://ceph.com/releases/kraken-11-0-2-released/
)
does not support this and
[
returns a 404 error when files are copied during the upload process
](
https://gitlab.com/gitlab-org/gitlab/-/issues/300604
)
.
The feature can be disabled using the
`:s3_multithreaded_uploads`
feature flag. To disable the feature, ask a GitLab administrator with
[
Rails console access
](
feature_flags.md#how-to-enable-and-disable-features-behind-flags
)
to run the following command:
```
ruby
Feature
.
disable
(
:s3_multithreaded_uploads
)
```
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