-
Notifications
You must be signed in to change notification settings - Fork 66
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
[TA4284] fix(rpc): close connection at the client side #168
Merged
vishnuitta
merged 7 commits into
openebs-archive:master
from
utkarshmani1997:US3967-shutdown-fd
Dec 18, 2018
Merged
[TA4284] fix(rpc): close connection at the client side #168
vishnuitta
merged 7 commits into
openebs-archive:master
from
utkarshmani1997:US3967-shutdown-fd
Dec 18, 2018
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
3 times, most recently
from
December 7, 2018 04:10
421e3f1
to
63c31a3
Compare
vishnuitta
reviewed
Dec 7, 2018
Please try code as below to make sure GO routines are exited:
|
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
2 times, most recently
from
December 10, 2018 10:55
e29e986
to
24de922
Compare
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
from
December 10, 2018 14:27
24de922
to
1ff7252
Compare
Controller initiates a new connection upon replica registration, this might create some problem due to concurrent goroutines, as some of the goroutine may not have been exited. To ensure graceful close of the connection, i have added CloseRead and CloseWrite in both replica and controller. Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
3 times, most recently
from
December 11, 2018 13:11
a9c0c71
to
ded3d91
Compare
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
from
December 12, 2018 03:59
ded3d91
to
1050af0
Compare
vishnuitta
reviewed
Dec 12, 2018
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
from
December 12, 2018 07:03
55736ad
to
de5dadb
Compare
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
from
December 12, 2018 07:10
de5dadb
to
2403f3b
Compare
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
vishnuitta
reviewed
Dec 17, 2018
vishnuitta
reviewed
Dec 17, 2018
vishnuitta
reviewed
Dec 17, 2018
vishnuitta
reviewed
Dec 17, 2018
vishnuitta
reviewed
Dec 17, 2018
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
from
December 17, 2018 09:13
18b6b18
to
cbea2b7
Compare
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
utkarshmani1997
force-pushed
the
US3967-shutdown-fd
branch
from
December 17, 2018 09:27
cbea2b7
to
10e7014
Compare
Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
vishnuitta
reviewed
Dec 18, 2018
vishnuitta
approved these changes
Dec 18, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are good
utkarshmani1997
added a commit
to utkarshmani1997/jiva
that referenced
this pull request
Jan 29, 2019
…or pingTimeout (openebs-archive#168) Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
utkarshmani1997
added a commit
to utkarshmani1997/jiva
that referenced
this pull request
Jan 29, 2019
…or pingTimeout (openebs-archive#168) Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
vishnuitta
pushed a commit
that referenced
this pull request
Jan 29, 2019
* [TA4284] fix(rpc): close connection at the client & server on errors or pingTimeout (#168) Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io> * [TA4759] fix(replica): handle case of disk-detach - Issue Ref: openebs/openebs#1387 - Log and handle the case of disk-detach cases (input/output error) in case it's `EIO` error fatal the replica. Note: - What happens to running replica ? Replica will be fataled. - What will happen upon replica restart after fatal? Replica will always be fataled until disk is attached - What will happen to controller ? It will remove the fataled replica, and will continue to serve IO's if quorum is met. Signed-off-by: Utkarsh Mani Tripathi <utkarsh.tripathi@mayadata.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Controller initiates a new connection upon replica registration,
this might create some problem due to concurrent goroutines, as some
of the goroutine may not have been exited. To ensure graceful close
of the connection, i have added CloseRead and CloseWrite in both
replica and controller.
Earlier we were not logging error in replica in such scenario, an error will be logged after this fix.
Signed-off-by: Utkarsh Mani Tripathi utkarsh.tripathi@mayadata.io