-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Node does not shut down communications when out of disk space #1311
Comments
Yes Avi, I made an exception for ENOSPC since I though that Raphael was working Was I wrong ? Best regards Benoît On Sun, Jun 5, 2016 at 12:44 PM, Avi Kivity notifications@github.com
|
So it appears, we should have caught ENOSPC and removed it when whatever Raphael was doing was complete. |
I refreshed my memory. Later on you instructed we to shutdown only on EIO. On Sun, Jun 5, 2016 at 1:10 PM, Avi Kivity notifications@github.com wrote:
|
You should have ignored me, it was a really bad idea. Did we not discuss ENOSPC? |
Here's what I said at one time:
Looks like we aren't prepared. |
We have: I though you wanted to discriminate by source of the exception so I did extern thread_local disk_error_signal_type commit_error; to discriminate from the source of the exception. We could discriminate futher by signal in service/storage_service.(hh/cc) At least even I did it wrong I tried to prepare ourselves for this. On Sun, Jun 5, 2016 at 3:37 PM, Avi Kivity notifications@github.com wrote:
|
Yeah it's my fault, I didn't explain myself clearly, and in any case I should have caught EIO-only on review. |
requires backport for 1.2, 1.1 On Mon, Jun 6, 2016 at 11:56 AM, Tomasz Grabiec notifications@github.com
|
Currently we only shut down on EIO. Expand this to shut down on any system_error. This may cause us to shut down prematurely due to a transient error, but this is better than not shutting down due to a permanent error (such as ENOSPC or EPERM). We may whitelist certain errors in the future to improve the behavior. Fixes #1311. Message-Id: <1465136956-1352-1-git-send-email-avi@scylladb.com> (cherry picked from commit 961e80a)
Currently we only shut down on EIO. Expand this to shut down on any system_error. This may cause us to shut down prematurely due to a transient error, but this is better than not shutting down due to a permanent error (such as ENOSPC or EPERM). We may whitelist certain errors in the future to improve the behavior. Fixes #1311. Message-Id: <1465136956-1352-1-git-send-email-avi@scylladb.com> (cherry picked from commit 961e80a)
Currently we only shut down on EIO. Expand this to shut down on any system_error. This may cause us to shut down prematurely due to a transient error, but this is better than not shutting down due to a permanent error (such as ENOSPC or EPERM). We may whitelist certain errors in the future to improve the behavior. Fixes #1311. Message-Id: <1465136956-1352-1-git-send-email-avi@scylladb.com> (cherry picked from commit 961e80a)
Installation details
Scylla version (or git commit hash): 1.1
The text was updated successfully, but these errors were encountered: