Refactor object storage multipart upload interface to distinguish close, complete and abort operations

This commit is contained in:
obdev
2024-02-10 04:27:55 +00:00
committed by ob-robot
parent bef3ebb26f
commit 7da0974a40
28 changed files with 506 additions and 144 deletions

View File

@ -70,6 +70,8 @@ public:
//file/dir interfaces
virtual int open(const char *pathname, const int flags, const mode_t mode, common::ObIOFd &fd, common::ObIODOpts *opts = NULL) override;
virtual int complete(const ObIOFd &fd) override;
virtual int abort(const ObIOFd &fd) override;
virtual int close(const common::ObIOFd &fd) override;
virtual int mkdir(const char *pathname, mode_t mode) override;
virtual int rmdir(const char *pathname) override;