Skip to content

config: Remove entries from initial resource versions map#6320

Merged
htuch merged 14 commits intoenvoyproxy:masterfrom
fredlas:REM_fix_removed
Mar 25, 2019
Merged

config: Remove entries from initial resource versions map#6320
htuch merged 14 commits intoenvoyproxy:masterfrom
fredlas:REM_fix_removed

Conversation

@fredlas
Copy link
Copy Markdown
Contributor

@fredlas fredlas commented Mar 19, 2019

Description: Remove entry from the "initial resource versions" map when the server informs us that the corresponding resource has gone away.
Risk Level: low
#4991

fredlas added 3 commits March 19, 2019 15:04
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
@fredlas
Copy link
Copy Markdown
Contributor Author

fredlas commented Mar 19, 2019

A test of what I fixed here wouldn't fit naturally into the SubscriptionTestHarness setup. Is it worth adding a unit test file specific to delta_subscription_impl.h?

@jmarantz
Copy link
Copy Markdown
Contributor

Going to assign this to someone familiar with this code, but IMO it is worth adding a new unit test file specific to the impl.

@jmarantz
Copy link
Copy Markdown
Contributor

@dmitri-d can you take a first pass?

@dmitri-d
Copy link
Copy Markdown
Contributor

lgtm

dmitri-d
dmitri-d previously approved these changes Mar 20, 2019
Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

LGTM; should we have a test for this?

/wait

fredlas added 2 commits March 21, 2019 17:11
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
@fredlas
Copy link
Copy Markdown
Contributor Author

fredlas commented Mar 21, 2019

Test added.

Signed-off-by: Fred Douglas <fredlas@google.com>
Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM modulo remaining minor test related comments.

/wait

fredlas added 2 commits March 22, 2019 13:18
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
fredlas added 4 commits March 22, 2019 16:51
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Copy link
Copy Markdown
Member

@htuch htuch 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, one question...

/wait

fredlas added 2 commits March 25, 2019 15:37
Signed-off-by: Fred Douglas <fredlas@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
Copy link
Copy Markdown
Member

@htuch htuch 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!

@htuch htuch merged commit 78ad883 into envoyproxy:master Mar 25, 2019
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.

4 participants