pingcap / pingcap/tidb

When an empty object is matched during import, an error will be reported. [restore for 31824]

Open
#56,841 1 comment 0 reactions 1 assignee Claimed by @BornChanger View on GitHub
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

### What did you do?

When I import on dbaas, I set object name pattern as "test.item/ "

### What did you expect to see?

import success

### What did you see instead?

an error will be reported.
"error="restore table `zmdb`.`zmtest` failed: InvalidRange: The requested range is not satisfiable\n\tstatus co"

### Versions of the cluster

DM version (run `dmctl -V` or `dm-worker -V` or `dm-master -V`):
```console
(paste DM version here, and you must ensure versions of dmctl, DM-worker and DM-master are same)
```
Upstream MySQL/MariaDB server version:
```console
(paste upstream MySQL/MariaDB server version here)
```
Downstream TiDB cluster version (execute `SELECT tidb_version();` in a MySQL client):
```console
(paste TiDB cluster version here)
```
How did you deploy DM: tiup or manually?
```console
(leave TiUP or manually here)
```
Other interesting information (system version, hardware config, etc):
```console
>
>
```

### current status of DM cluster (execute `query-status ` in dmctl)

```console
(paste current status of DM cluster here)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.