Skip to content

Allow sending back stale shard name data if requested,…#5189

Merged
deepthi merged 7 commits intovitessio:masterfrom
planetscale:jacques_issue5038
May 12, 2020
Merged

Allow sending back stale shard name data if requested,…#5189
deepthi merged 7 commits intovitessio:masterfrom
planetscale:jacques_issue5038

Conversation

@aquarapid
Copy link
Copy Markdown
Contributor

@aquarapid aquarapid commented Sep 13, 2019

… instead of zeroing it out.
Fixes #5038

@aquarapid aquarapid requested a review from sougou as a code owner September 13, 2019 17:26
@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented Sep 13, 2019

Welcome @aquarapid! We tend to not list the issue in the PR title, preferring a line like Fixes #0000 in the description. That will ensure that when this PR is merged, the issue will automatically be closed.

@sougou
Copy link
Copy Markdown
Contributor

sougou commented Sep 16, 2019

Need to fix DCO. Also, the build broke. Looks like some interfaces may need to be updated.

@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented Feb 8, 2020

@aquarapid ping
can you fix the DCO?

…uested, instead of zeroing it out.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@deepthi deepthi changed the title Issue #5038 : Allow sending back stale shard name data if requested,… Allow sending back stale shard name data if requested,… Feb 26, 2020
while the topo cache is refreshing.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
   server refresh period after TTL expires
 * Add tests

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@aquarapid
Copy link
Copy Markdown
Contributor Author

@deepthi @sougou this is ready for review. As a stress test, I ran the script mentioned here #5038 (comment) but with a million iterations against a vtgate instance, and did not see a single error.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented Mar 17, 2020

LGTM
@tirsen @sougou can you also review?

@deepthi
Copy link
Copy Markdown
Collaborator

deepthi commented May 8, 2020

Trying to kick CI.

@deepthi deepthi closed this May 8, 2020
@deepthi deepthi reopened this May 8, 2020
@deepthi deepthi merged commit a27cbe9 into vitessio:master May 12, 2020
@deepthi deepthi added this to the v7.0 milestone Jul 27, 2020
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.

SHOW VITESS_SHARDS intermittently returns an empty list of shards

3 participants