Skip to content

Use uint64_t for buffer watermark values#40745

Merged
yanavlasov merged 2 commits intoenvoyproxy:mainfrom
yanavlasov:enable-large-retries
Aug 22, 2025
Merged

Use uint64_t for buffer watermark values#40745
yanavlasov merged 2 commits intoenvoyproxy:mainfrom
yanavlasov:enable-large-retries

Conversation

@yanavlasov
Copy link
Copy Markdown
Contributor

This is needed to support the new request_body_buffer_limit route configuration.

WatermarkBufferTest.OverflowWatermarkDisabledOnVeryHighValue had to be refactored to not used allocations as it is no longer practical with 64 bit limit and 32 bit multiplier.

Risk Level: none
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Yan Avlasov <yavlasov@google.com>
Signed-off-by: Yan Avlasov <yavlasov@google.com>
@yanavlasov yanavlasov enabled auto-merge (squash) August 16, 2025 19:01
Copy link
Copy Markdown
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@yanavlasov yanavlasov merged commit 0c7818d into envoyproxy:main Aug 22, 2025
25 checks passed
@yanavlasov yanavlasov deleted the enable-large-retries branch August 23, 2025 20:26
melginaldi pushed a commit to melginaldi/envoy that referenced this pull request Aug 26, 2025
This is needed to support the new `request_body_buffer_limit` route
configuration.

WatermarkBufferTest.OverflowWatermarkDisabledOnVeryHighValue had to be
refactored to not used allocations as it is no longer practical with 64
bit limit and 32 bit multiplier.

Risk Level: none
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Yan Avlasov <yavlasov@google.com>
Signed-off-by: Melissa Ginaldi <mginaldi@google.com>
melginaldi pushed a commit to melginaldi/envoy that referenced this pull request Aug 26, 2025
This is needed to support the new `request_body_buffer_limit` route
configuration.

WatermarkBufferTest.OverflowWatermarkDisabledOnVeryHighValue had to be
refactored to not used allocations as it is no longer practical with 64
bit limit and 32 bit multiplier.

Risk Level: none
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Yan Avlasov <yavlasov@google.com>
Signed-off-by: Melissa Ginaldi <mginaldi@google.com>
wtzhang23 pushed a commit to wtzhang23/envoy that referenced this pull request Aug 27, 2025
This is needed to support the new `request_body_buffer_limit` route
configuration.

WatermarkBufferTest.OverflowWatermarkDisabledOnVeryHighValue had to be
refactored to not used allocations as it is no longer practical with 64
bit limit and 32 bit multiplier.

Risk Level: none
Testing: unit tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Yan Avlasov <yavlasov@google.com>
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.

2 participants