fix(cos/put): seek to part offset
This commit is contained in:
parent
613ca2c370
commit
7cb32da336
|
@ -671,6 +671,13 @@ upload:
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i > 0 && cp.parts[i - 1].completed) {
|
||||||
|
if (taosLSeekFile(data->infileFD, cp.parts[i].offset, SEEK_SET) < 0) {
|
||||||
|
code = TAOS_SYSTEM_ERROR(errno);
|
||||||
|
goto clean;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
int seq = cp.parts[i].index + 1;
|
int seq = cp.parts[i].index + 1;
|
||||||
|
|
||||||
partData.manager = &manager;
|
partData.manager = &manager;
|
||||||
|
|
Loading…
Reference in New Issue