Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

load: load should not need metadata (#1321) #1326

Merged
merged 6 commits into from
Dec 22, 2020

Conversation

ti-srebot
Copy link

cherry-pick #1321 to release-2.0


What problem does this PR solve?

part of #1320

What is changed and how it works?

since full mode doesn't not need REPLICATION related privilege and doesn't check it, mydumper/dumpling won't generate a valid metdata file containing "SHOW MASTER STATUS:" at then. And when loader parse it, load task will stop.

Now load should ignore that error

Check List

Tests

  • pass original test

Code changes

Side effects

Related changes

  • Need to cherry-pick to the release branch

@ti-srebot ti-srebot added first-time-contributor priority/normal Minor change, requires approval from ≥1 primary reviewer type/bug-fix Bug fix type/cherry-pick This PR is just a cherry-pick (backport) labels Dec 10, 2020
@lance6716
Copy link
Collaborator

waiting #1316 to resolve conflicts

Copy link
Member

@csuzhangxc csuzhangxc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@csuzhangxc csuzhangxc added the status/LGT1 One reviewer already commented LGTM label Dec 21, 2020
@csuzhangxc csuzhangxc added this to the v2.0.1 milestone Dec 21, 2020
@csuzhangxc csuzhangxc merged commit a864d71 into pingcap:release-2.0 Dec 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
first-time-contributor priority/normal Minor change, requires approval from ≥1 primary reviewer status/LGT1 One reviewer already commented LGTM type/bug-fix Bug fix type/cherry-pick This PR is just a cherry-pick (backport)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants