Skip to content
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

Fix unsaved event regression #6710

Merged

Conversation

rohit-nayak-ps
Copy link
Contributor

There was a regression in #6635 due to which unsaved events were not being saved on a heartbeat.

This resulted in SwitchWrites failing because shards where there no activity relevant to the stream would never catchup to the master position. This bug manifested when one switched back and forth between forward and reverse workflows without any
new relevant writes (matching the keyspace id) to the target shard.

Also added more logs for observability.

Signed-off-by: Rohit Nayak rohit@planetscale.com

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps marked this pull request as ready for review September 13, 2020 13:08
@sougou sougou merged commit 7e462ee into vitessio:master Sep 13, 2020
@enisoc enisoc deleted the rn-fix-unsaved-events-regression branch October 2, 2020 23:49
@askdba askdba added this to the v8.0 milestone Oct 6, 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.

3 participants