Skip to content

Conditional Slicing#11618

Merged
moonchen merged 18 commits intoapache:masterfrom
moonchen:slice-conditionally
Aug 12, 2024
Merged

Conditional Slicing#11618
moonchen merged 18 commits intoapache:masterfrom
moonchen:slice-conditionally

Conversation

@moonchen
Copy link
Copy Markdown
Contributor

Add a configuration for slice to limit slicing to large objects only. See documentation change for details.

moonchen added 15 commits July 26, 2024 13:03
Add an option to slice plugin to only slice large objects.
* Simplify read_request logic.
* Make an error message better.
* Turn cache off only for large and un-sliced requests.
* Fix a crash when not conditionally slicing.
* Cleanup some function names
* Only store large URLs in metadata cache.
* The old stats don't make sense in this new cache.  Change metadata
stats.
We're not normalizing for un-sliced requests, so don't use CRR.
@JosiahWI JosiahWI added the slice label Jul 26, 2024
@JosiahWI JosiahWI added this to the 10.1.0 milestone Jul 26, 2024
@moonchen
Copy link
Copy Markdown
Contributor Author

[approve ci ubuntu]

@bryancall bryancall requested a review from traeak July 29, 2024 22:19
* Add more docs about various cases
* Update autest loop
Copy link
Copy Markdown
Contributor

@traeak traeak left a comment

Choose a reason for hiding this comment

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

This all looks fine and still passes all other tests. Nice and clever.

@moonchen moonchen merged commit 4fcbbbf into apache:master Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants