Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Schema Tracking Refactor: Merge schema-tracking in health-streamer into schema.Engine #13121
Schema Tracking Refactor: Merge schema-tracking in health-streamer into schema.Engine #13121
Changes from 37 commits
4e75fe9
122c5e6
714a975
36758f2
9923f76
a950d15
69c3554
9a8202e
b4a7f95
5643738
90e0b56
05b4b82
43056d7
5bb9291
a7e6159
41c5d2a
c47b88b
7f56125
e5272fb
25814d1
0d2ac63
7699de2
42e8ca4
32ab02a
aea8396
707a460
dfdb469
16a4acf
54943b2
877dc48
5ebe65d
94f8c49
f7b496e
c8d891e
96cec2c
f778e0b
ff01bf9
dcff98a
993fa6b
05d3546
ee7562d
e00653f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are existing usages of
StreamTabletHealth
can those also use this utility function?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an inherent difference between the two.
StreamTabletHealth
gets you specified number of stream responses back, which can then be processed. On the other handStreamTabletHealthUntil
is meant to be used where the test doesn't care if we consume more responses and only verifies if a certain check is ever true.The tests currently using
StreamTabletHealth
actually can't really useStreamTabletHealthUntil
because they want to run a test on the next packet, and not an eventual packet.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are other places as well we are doing this call, like
InitializeShard
can it be reusedThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could, but eventually we want to move to using
vtctldclient
and notvtctlclient
. So I thought it prudent to add a PRS call to vtctldclient. This is what we should be using going forward in all our tests.