Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add slicer as an option #831

Merged
merged 3 commits into from
Sep 27, 2023
Merged

Conversation

smallhive
Copy link
Contributor

close #808

@smallhive smallhive force-pushed the 808-add-an-option-to-slice-objects branch from f3367c7 to ca2d98a Compare September 25, 2023 06:35
@codecov
Copy link

codecov bot commented Sep 25, 2023

Codecov Report

Merging #831 (39412e8) into master (d4c7e11) will decrease coverage by 0.16%.
Report is 4 commits behind head on master.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #831      +/-   ##
==========================================
- Coverage   34.05%   33.90%   -0.16%     
==========================================
  Files          61       62       +1     
  Lines       10472    10519      +47     
==========================================
  Hits         3566     3566              
- Misses       6505     6552      +47     
  Partials      401      401              
Files Coverage Δ
internal/neofs/neofs.go 1.36% <0.00%> (-0.08%) ⬇️
internal/neofs/epoch.go 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@smallhive smallhive marked this pull request as ready for review September 25, 2023 06:53
cmd/s3-authmate/main.go Outdated Show resolved Hide resolved
config/config.env Outdated Show resolved Hide resolved
// List of allowed AccessKeyID prefixes.
cfgAllowedAccessKeyIDPrefixes = "allowed_access_key_id_prefixes"

// envPrefix is an environment variables prefix used for configuration.
envPrefix = "S3_GW"

// Shows if slicer is enabled. If enabled slicer will be used for object put.
cfgSlicerEnabled = "slicer.enabled"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internal_slicer? I'm not sure what would be the best name for it.

Copy link
Contributor Author

@smallhive smallhive Sep 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, that I like internal in this case. Renamed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internal for the S3 gateway. Otherwise it happens in the NeoFS node, thus can be considered external to the S3 gateway. Maybe there are better options.

config/config.env Outdated Show resolved Hide resolved
cmd/s3-gw/app.go Outdated Show resolved Hide resolved
internal/neofs/epoch.go Show resolved Hide resolved
closes #808

Signed-off-by: Evgenii Baidakov <[email protected]>
@roman-khimov roman-khimov merged commit 77037da into master Sep 27, 2023
11 of 14 checks passed
@roman-khimov roman-khimov deleted the 808-add-an-option-to-slice-objects branch September 27, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an option to slice objects in the gateway itself
2 participants