Conversation
3d2f6ff to
156343f
Compare
deepthi
left a comment
There was a problem hiding this comment.
LGTM. A few questions inline.
go/vt/mysqlctl/replication.go
Outdated
There was a problem hiding this comment.
If this condition is false, we fall through to WaitUntilPositionCommand. Is that safe?
There was a problem hiding this comment.
It should not happen for master because it will always be up-to-date. Even if it does, the wait command will just return an error, which is fine.
go/vt/mysqlctl/fileutil.go
Outdated
There was a problem hiding this comment.
I plan to address these as part of the V2 and SBR cleanups.
go/vt/vtctl/vtctl.go
Outdated
There was a problem hiding this comment.
Does order matter? Does <target keyspace> need to be at the end?
There was a problem hiding this comment.
Order doesn't matter. The ordering of the help line implies that workflow is a mandatory flag and target_keyspace is a mandatory argument. The rest are optional.
go/vt/wrangler/vdiff_test.go
Outdated
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
It now waits indefinitely until at least one tablet is available. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
It now picks equally from all tablet types. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
* WaitForPos previously worked only for replicas. It's been updated to work correctly for masters also. * resultReader keyspace was hardcoded to source. The keyspace name is now passed as input param. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Some tests still depend on the healthcheck timeout options. So, tablet picker still needs to accept them as arguments. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
e9ad938 to
09987c4
Compare
change test to handle new mastership rules Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
09987c4 to
7d8a08d
Compare
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
33fe9a0 to
1b8bece
Compare
This change implements vdiff, which can compare the source and target tables of a workflow.
This works for only for deterministic streams. Non-deterministic streams are likely to report differences.
Doesn't look like this change can be broken out into smaller pieces.