When an empty object is matched during import, an error will be reported. [restore for 31824]
- 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
Assessment
This issue has not been assessed yet.