[Enhancement] Garbage collection of unused data on remote storage backend (#10731)
* [Feature](cold_on_s3) support unused remote rowset gc * return aborted when skip drop tablet * perform unused remote rowset gc
This commit is contained in:
@ -249,7 +249,7 @@ void EngineCloneTask::_set_tablet_info(Status status, bool is_new_tablet) {
|
||||
<< ", signature:" << _signature << ", version:" << tablet_info.version
|
||||
<< ", expected_version: " << _clone_req.committed_version;
|
||||
Status drop_status = StorageEngine::instance()->tablet_manager()->drop_tablet(
|
||||
_clone_req.tablet_id, _clone_req.replica_id);
|
||||
_clone_req.tablet_id, _clone_req.replica_id, false);
|
||||
if (drop_status != Status::OK() &&
|
||||
drop_status.precise_code() != OLAP_ERR_TABLE_NOT_FOUND) {
|
||||
// just log
|
||||
|
||||
Reference in New Issue
Block a user