[feature](cold-data) move cold data to object storage without losing any feature(BE) (#10280)
This PR supports rowset level data upload on the BE side, so that there can be both cold data and hot data in a tablet, and there is no necessary to prohibit loading new data to cooled tablets. Each rowset is bound to a `FileSystem`, so that the storage layer can read and write rowsets without perceiving the underlying filesystem. The abstracted `RemoteFileSystem` can try local caching strategies with different granularity, instead of caching segment files as before. To avoid conflicts with the code in be/src/io, we temporarily put the file system related code in the be/src/io/fs directory. In the future, `FileReader`s and `FileWriter`s should be unified.
This commit is contained in:
@ -69,6 +69,7 @@ import org.apache.doris.thrift.TFrontendPingFrontendResult;
|
||||
import org.apache.doris.thrift.TFrontendPingFrontendStatusCode;
|
||||
import org.apache.doris.thrift.TGetDbsParams;
|
||||
import org.apache.doris.thrift.TGetDbsResult;
|
||||
import org.apache.doris.thrift.TGetStoragePolicyResult;
|
||||
import org.apache.doris.thrift.TGetTablesParams;
|
||||
import org.apache.doris.thrift.TGetTablesResult;
|
||||
import org.apache.doris.thrift.TListPrivilegesResult;
|
||||
@ -989,4 +990,8 @@ public class FrontendServiceImpl implements FrontendService.Iface {
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TGetStoragePolicyResult refreshStoragePolicy() throws TException {
|
||||
throw new TException("not implement");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user