Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix insert into mode is not restriction for BE storage_flood_stage_usage_percent param #36657

Open
wants to merge 6 commits into
base: branch-2.1
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update delta_writer_v2.cpp
Fix insert into mode is not restriction for BE storage_flood_stage_usage_percent param
  • Loading branch information
dh-cloud authored Jun 26, 2024
commit 9596a4917bd5b427973bb5885b32bab99af0b325
4 changes: 2 additions & 2 deletions be/src/olap/delta_writer_v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ Status DeltaWriterV2::init() {
context.tablet_schema = _tablet_schema;
context.original_tablet_schema = _tablet_schema;
context.newest_write_timestamp = UnixSeconds();
context.tablet = DORIS_TRY(ExecEnv::get_tablet(_req.tablet_id));
context.tablet = nullptr;
context.write_type = DataWriteType::TYPE_DIRECT;
context.tablet_id = _req.tablet_id;
context.partition_id = _req.partition_id;
context.tablet_schema_hash = _req.schema_hash;
context.enable_unique_key_merge_on_write = _streams[0]->enable_unique_mow(_req.index_id);
context.rowset_type = RowsetTypePB::BETA_ROWSET;
context.rowset_id = StorageEngine::instance()->next_rowset_id();
context.data_dir = StorageEngine::instance()->tablet_manager()->get_tablet(_req.tablet_id)->data_dir();
context.data_dir = nullptr;
context.partial_update_info = _partial_update_info;

_rowset_writer = std::make_shared<BetaRowsetWriterV2>(_streams);
Expand Down
Loading