Skip to content

Fix unsaved event regression#6710

Merged
sougou merged 1 commit intovitessio:masterfrom
planetscale:rn-fix-unsaved-events-regression
Sep 13, 2020
Merged

Fix unsaved event regression#6710
sougou merged 1 commit intovitessio:masterfrom
planetscale:rn-fix-unsaved-events-regression

Conversation

@rohit-nayak-ps
Copy link
Copy Markdown
Member

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