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

[Refactor] Removed not used log upon start and unified drop_tablet_unlock interface #9318

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

chaoyli
Copy link
Contributor

@chaoyli chaoyli commented Jul 28, 2022

Many logs upon start are non-sense, and the pull request removes these logs.
The AlterTask is already not used, and drop_tablet_unlocked can be unified.

What type of PR is this:

  • bug
  • feature
  • [] enhancement
  • refactor
  • others

Which issues of this PR fixes :

Fixes #

Problem Summary(Required) :

…lock interface

Many logs upon start is non-sense and the pull request remove these logs.
The AlterTask is already not used and drop_tablet_unlocked can be unified.
@wanpengfei-git wanpengfei-git added the Approved Ready to merge label Jul 29, 2022
@wanpengfei-git
Copy link
Collaborator

run starrocks_admit_test

1 similar comment
@imay
Copy link
Contributor

imay commented Aug 1, 2022

run starrocks_admit_test

@imay imay merged commit a272ac8 into StarRocks:main Aug 2, 2022
@zuyu zuyu mentioned this pull request Oct 25, 2022
9 tasks
imay pushed a commit that referenced this pull request Oct 25, 2022
Fixes a typo in the log introduced by #9318, and changed a log output location for better debugging in BE

* Fixed the log output for BE IP: `backend_options.cpp:77] local host192.168.145.1`
* Moved the log about a mismatched BE IP address into the WARNING log, instead of INFO, for a better debugging experience.
   ```
   I1024 15:36:38.188383 248318 heartbeat_server.cpp:148] 172.17.0.1 not equal to to backend localhost 192.168.145.1
   W1024 15:36:38.188386 248318 heartbeat_server.cpp:74] Fail to handle heartbeat: Internal error: FE saved address not match backend address cached master info: TMasterInfo(network_address=TNetworkAddress(hostname=, port=0), cluster_id=-1, epoch=0, token=<null>, backend_ip=<null>, http_port=<null>, heartbeat_flags=<null>, backend_id=<null>) received master info: TMasterInfo(network_address=TNetworkAddress(hostname=172.17.0.1, port=9020), cluster_id=452026703, epoch=3, token=c2de331e-6628-4f77-92cc-913a61aa40f8, backend_ip=172.17.0.1, http_port=8030, heartbeat_flags=0, backend_id=10020)
   ```
mergify bot pushed a commit that referenced this pull request Oct 26, 2022
Fixes a typo in the log introduced by #9318, and changed a log output location for better debugging in BE

* Fixed the log output for BE IP: `backend_options.cpp:77] local host192.168.145.1`
* Moved the log about a mismatched BE IP address into the WARNING log, instead of INFO, for a better debugging experience.
   ```
   I1024 15:36:38.188383 248318 heartbeat_server.cpp:148] 172.17.0.1 not equal to to backend localhost 192.168.145.1
   W1024 15:36:38.188386 248318 heartbeat_server.cpp:74] Fail to handle heartbeat: Internal error: FE saved address not match backend address cached master info: TMasterInfo(network_address=TNetworkAddress(hostname=, port=0), cluster_id=-1, epoch=0, token=<null>, backend_ip=<null>, http_port=<null>, heartbeat_flags=<null>, backend_id=<null>) received master info: TMasterInfo(network_address=TNetworkAddress(hostname=172.17.0.1, port=9020), cluster_id=452026703, epoch=3, token=c2de331e-6628-4f77-92cc-913a61aa40f8, backend_ip=172.17.0.1, http_port=8030, heartbeat_flags=0, backend_id=10020)
   ```

(cherry picked from commit d817f3d)
wanpengfei-git pushed a commit that referenced this pull request Oct 26, 2022
Fixes a typo in the log introduced by #9318, and changed a log output location for better debugging in BE

* Fixed the log output for BE IP: `backend_options.cpp:77] local host192.168.145.1`
* Moved the log about a mismatched BE IP address into the WARNING log, instead of INFO, for a better debugging experience.
   ```
   I1024 15:36:38.188383 248318 heartbeat_server.cpp:148] 172.17.0.1 not equal to to backend localhost 192.168.145.1
   W1024 15:36:38.188386 248318 heartbeat_server.cpp:74] Fail to handle heartbeat: Internal error: FE saved address not match backend address cached master info: TMasterInfo(network_address=TNetworkAddress(hostname=, port=0), cluster_id=-1, epoch=0, token=<null>, backend_ip=<null>, http_port=<null>, heartbeat_flags=<null>, backend_id=<null>) received master info: TMasterInfo(network_address=TNetworkAddress(hostname=172.17.0.1, port=9020), cluster_id=452026703, epoch=3, token=c2de331e-6628-4f77-92cc-913a61aa40f8, backend_ip=172.17.0.1, http_port=8030, heartbeat_flags=0, backend_id=10020)
   ```

(cherry picked from commit d817f3d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants