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

The master ip is still its own ip when the master is restared #6404

Closed
gengjun-git opened this issue May 23, 2022 · 1 comment · Fixed by #6407
Closed

The master ip is still its own ip when the master is restared #6404

gengjun-git opened this issue May 23, 2022 · 1 comment · Fixed by #6407
Labels
type/bug Something isn't working

Comments

@gengjun-git
Copy link
Contributor

Steps to reproduce the behavior (Required)

Execute the following steps in a 3 follower cluster without any tasks

  1. Hang the two non-master nodes in the cluster
kill -19 pid
  1. Immediately execute create database operation on the master node
create database test;
  1. Wait for the master node to exit
  2. Restart the hung fe
  3. After the hung fe started, start the old master node.
  4. connect to the old master node, and execute the command:
show frontends;

Expected behavior (Required)

show frontends should be executed successfully.

Real behavior (Required)

show frontends is hung,

2022-05-20 14:53:25,691 INFO (thrift-server-pool-2978|3102) [MasterOpExecutor.forward():134] Forward statement 2980 to Master TNetworkAddress(hostname:172.26.92.155, port:29927)
2022-05-20 14:53:25,692 INFO (thrift-server-pool-2979|3103) [ThriftServerEventProcessor.createContext():98] create thrift context. client: TNetworkAddress(hostname:172.26.92.155, port:54664)
2022-05-20 14:53:25,692 INFO (thrift-server-pool-2979|3103) [FrontendServiceImpl.forward():649] receive forwarded stmt 2980 from FE: 172.26.92.155

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version()
@gengjun-git gengjun-git added the type/bug Something isn't working label May 23, 2022
@jaogoy
Copy link
Contributor

jaogoy commented May 24, 2022

@gengjun-git You can modify the title to make it more accurate to the description.

jaogoy pushed a commit to jaogoy/starrocks that referenced this issue Nov 15, 2023
Signed-off-by: 絵空事スピリット <wanglichen@starrocks.com>
(cherry picked from commit 40daf76)

Co-authored-by: 絵空事スピリット <wanglichen@starrocks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants