fsspec / ossfs

fsspec filesystem for Alibaba Cloud (Aliyun) Object Storage System (OSS)
Apache License 2.0
21 stars 11 forks source link

OSSFile _upload_chunk bug #127

Open idling11 opened 1 year ago

idling11 commented 1 year ago

Hi, team, I find a bug in OSSFIle _upload_chunk function.
self.loc = self.fs.append_object(self.path, self.loc, self.buffer.getvalue()) we should pass self.offset instead of self.loc to append_object function.

idling11 commented 1 year ago

I have make a pr for this bug. pls review if you have time https://github.com/idling11/ossfs/pull/new/fix_127