Skip to content

Commit

Permalink
Fix unbalance issue of subpartitions in adaptive tablegroup
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenNan0 authored and ob-robot committed Dec 12, 2023
1 parent e90b359 commit 0192ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rootserver/balance/ob_balance_group_define.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int ObBalanceGroup::init_by_tablegroup(const ObSimpleTablegroupSchema &tg,
if (OB_FAIL(bg_name_str.append_fmt("TABLEGROUP_%s_PART_GROUP_%ld", tg_name.ptr(), part_group_index))) {
LOG_WARN("fail to append fmt", KR(ret), K(tg));
} else {
id_ = ObBalanceGroupID(tg.get_tablegroup_id(), 0);
id_ = ObBalanceGroupID(tg.get_tablegroup_id(), part_group_index);
}
}

Expand Down

0 comments on commit 0192ab9

Please sign in to comment.