[feature-wip](remote storage)(step1) use a struct instead of string for parameter path, add basic remote method (#7098)
For the first, we need to make a parameter to discribe the data is local or remote. At then, we need to support some basic function to support the operation for remote storage.
This commit is contained in:
@ -228,7 +228,7 @@ OLAPStatus PushHandler::_convert_v2(TabletSharedPtr cur_tablet, TabletSharedPtr
|
||||
if (cur_tablet->tablet_meta()->preferred_rowset_type() == BETA_ROWSET) {
|
||||
context.rowset_type = BETA_ROWSET;
|
||||
}
|
||||
context.rowset_path_prefix = cur_tablet->tablet_path();
|
||||
context.path_desc = cur_tablet->tablet_path_desc();
|
||||
context.tablet_schema = &(cur_tablet->tablet_schema());
|
||||
context.rowset_state = PREPARED;
|
||||
context.txn_id = _request.transaction_id;
|
||||
@ -410,7 +410,7 @@ OLAPStatus PushHandler::_convert(TabletSharedPtr cur_tablet, TabletSharedPtr new
|
||||
if (cur_tablet->tablet_meta()->preferred_rowset_type() == BETA_ROWSET) {
|
||||
context.rowset_type = BETA_ROWSET;
|
||||
}
|
||||
context.rowset_path_prefix = cur_tablet->tablet_path();
|
||||
context.path_desc = cur_tablet->tablet_path_desc();
|
||||
context.tablet_schema = &(cur_tablet->tablet_schema());
|
||||
context.rowset_state = PREPARED;
|
||||
context.txn_id = _request.transaction_id;
|
||||
|
||||
Reference in New Issue
Block a user