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

glusterd: don't connect to an asynchronously started brick #4140

Closed
wants to merge 1 commit into from

Conversation

xhernandez
Copy link
Contributor

When a brick is asynchorously started it's likely that an immediate connection attempt will fail. In this case just avoid the connection. The connection will be created the next time the brick is needed.

Fixes: #4080

When a brick is asynchorously started it's likely that an immediate
connection attempt will fail. In this case just avoid the connection.
The connection will be created the next time the brick is needed.

Fixes: gluster#4080
Signed-off-by: Xavi Hernandez <[email protected]>
@xhernandez
Copy link
Contributor Author

/run full regression

@gluster-ant
Copy link
Collaborator

5 test(s) failed
./tests/bugs/glusterd/brick-mux-validation-in-cluster.t
./tests/bugs/glusterd/quorum-validation.t
./tests/bugs/glusterd/reset-brick-and-daemons-follow-quorum.t
./tests/bugs/glusterd/validating-server-quorum.t
./tests/bugs/snapshot/bug-1512451-snapshot-creation-failed-after-brick-reset.t

0 test(s) generated core

10 test(s) needed retry
./tests/000-flaky/bugs_glusterd_bug-857330/normal.t
./tests/000-flaky/bugs_glusterd_bug-857330/xml.t
./tests/basic/afr/ta-shd.t
./tests/bugs/glusterd/brick-mux-validation-in-cluster.t
./tests/bugs/glusterd/quorum-validation.t
./tests/bugs/glusterd/reset-brick-and-daemons-follow-quorum.t
./tests/bugs/glusterd/validating-server-quorum.t
./tests/bugs/quota/bug-1035576.t
./tests/bugs/replicate/bug-976800.t
./tests/bugs/snapshot/bug-1512451-snapshot-creation-failed-after-brick-reset.t

2 flaky test(s) marked as success even though they failed
./tests/000-flaky/bugs_glusterd_bug-857330/normal.t
./tests/000-flaky/bugs_glusterd_bug-857330/xml.t

@xhernandez xhernandez closed this May 15, 2023
@xhernandez xhernandez deleted the devel.issue-4080 branch May 15, 2023 09:08
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.

glusterd may try to start bricks twice
2 participants