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

bug修复及功能支持 #247

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

bug修复及功能支持 #247

wants to merge 19 commits into from

Conversation

cyz-2023
Copy link
Contributor

  • sort index使用primary字段
  • 添加ns和db粒度的默认机房配置、主机房配置
  • 多表join支持reorder
  • 支持distinct x, count(*)
  • 子查询支持force index
  • update语句支持保持ttl
  • bug修复

src/logical_plan/select_planner.cpp Outdated Show resolved Hide resolved
proto/meta.interface.proto Outdated Show resolved Hide resolved
@@ -834,7 +834,7 @@ static void on_health_check_done(pb::StoreRes* response, brpc::Controller* cntl,
pb::Status new_status = pb::NORMAL;
if (cntl->Failed()) {
if (cntl->ErrorCode() == brpc::ERPCTIMEDOUT ||
cntl->ErrorCode() == ETIMEDOUT) {
cntl->ErrorCode() == ETIMEDOUT || cntl->ErrorCode() == EHOSTDOWN) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hostdown属于faulty

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修改,加了个commit

src/protocol/network_server.cpp Outdated Show resolved Hide resolved
}
//dead实例不会太多,设置个阈值,太多了则不做处理
size_t max_dead_cnt = std::min(info_map.size() / 10 + 1, (size_t)5);
if (need_cancel_addrs.size() > max_dead_cnt) {
if (need_cancel_addrs.size() > max_dead_cnt && !is_logical_room_faulty) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

而且这个本身状态也没变化,区别就是是否需要cancel rpc,这个只是认为机器卡死的时候需要cancel

src/exec/dml_node.cpp Show resolved Hide resolved
include/meta_server/table_manager.h Show resolved Hide resolved
include/exec/exec_node.h Show resolved Hide resolved
src/physical_plan/separate.cpp Show resolved Hide resolved
@cyz-2023 cyz-2023 force-pushed the master branch 2 times, most recently from fc9e74c to 8a57dda Compare November 15, 2024 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants