Skip to content

Refactor WatermarkFactory::create to WatermarkFactory::createBuffer.#17108

Merged
antoniovicente merged 2 commits intoenvoyproxy:mainfrom
KBaichoo:refactorCreateBuffer
Jun 24, 2021
Merged

Refactor WatermarkFactory::create to WatermarkFactory::createBuffer.#17108
antoniovicente merged 2 commits intoenvoyproxy:mainfrom
KBaichoo:refactorCreateBuffer

Conversation

@KBaichoo
Copy link
Copy Markdown
Contributor

Refactor WatermarkFactory::create to WatermarkFactory::createBuffer. we'll be creating BufferMemoryAccounts from the factories as well.

Signed-off-by: Kevin Baichoo kbaichoo@google.com

Commit Message: Refactor WatermarkFactory::create to WatermarkFactory::createBuffer.
Additional Description: See #17093 (comment)
Risk Level: low
Testing: Ran tests
Docs Changes: NA
Release Notes: NA
Platform Specific Features: NA
Related Issue #15791

we'll be creating BufferMemoryAccounts from the factories as well.

Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
@KBaichoo
Copy link
Copy Markdown
Contributor Author

/assign @antoniovicente

Copy link
Copy Markdown
Contributor

@antoniovicente antoniovicente left a comment

Choose a reason for hiding this comment

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

Looks good otherwise.

/wait

Comment thread envoy/buffer/buffer.h
using InstancePtr = std::unique_ptr<Instance>;

/**
* A factory for creating buffers which call callbacks when reaching high and low watermarks.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think you should keep this class comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Whoops, done!

Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
@KBaichoo
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17108 (comment) was created by @KBaichoo.

see: more, trace.

@KBaichoo
Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17108 (comment) was created by @KBaichoo.

see: more, trace.

@antoniovicente antoniovicente merged commit 4da0b35 into envoyproxy:main Jun 24, 2021
chrisxrepo pushed a commit to chrisxrepo/envoy that referenced this pull request Jul 8, 2021
…ffer. (envoyproxy#17108)

WatermarkFactory will be used to create BufferMemoryAccounts in addition to Buffers.

Signed-off-by: Kevin Baichoo <kbaichoo@google.com>
Signed-off-by: chris.xin <xinchuantao@qq.com>
leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
…ffer. (envoyproxy#17108)

WatermarkFactory will be used to create BufferMemoryAccounts in addition to Buffers.

Signed-off-by: Kevin Baichoo <kbaichoo@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