You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2015/08/26 21:22:45 UTC
[jira] [Comment Edited] (CASSANDRA-10199) Warn on tiny disks
instead of failing startup
[ https://issues.apache.org/jira/browse/CASSANDRA-10199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715343#comment-14715343 ]
Ariel Weisberg edited comment on CASSANDRA-10199 at 8/26/15 7:22 PM:
---------------------------------------------------------------------
[Can you get configuration exception to wrap the IOException?|https://github.com/apache/cassandra/compare/cassandra-2.2...jbellis:10199#diff-a8a9935b164cd23da473fd45784fd1ddR499]
[Same wrapping issue here, maybe time to create a helper function?|https://github.com/apache/cassandra/compare/cassandra-2.2...jbellis:10199#diff-a8a9935b164cd23da473fd45784fd1ddR537]
[Ponies would be to log the directory and total space in megabytes as well.|https://github.com/apache/cassandra/compare/cassandra-2.2...jbellis:10199#diff-a8a9935b164cd23da473fd45784fd1ddR504]
[For this particular informational kind of warning I would prefer a unit larger than bytes, but this is bike shedding.|https://github.com/apache/cassandra/compare/cassandra-2.2...jbellis:10199#diff-a8a9935b164cd23da473fd45784fd1ddR541] Possibly a float with 2-3 digits of precision after the decimal if it need to be more precise.
was (Author: aweisberg):
[Can you get configuration exception to wrap the IOException?|https://github.com/apache/cassandra/compare/cassandra-2.2...jbellis:10199#diff-a8a9935b164cd23da473fd45784fd1ddR499]
[Same wrapping issue here, maybe time to create a helper function?|https://github.com/apache/cassandra/compare/cassandra-2.2...jbellis:10199#diff-a8a9935b164cd23da473fd45784fd1ddR537]
[Ponies would be to log the directory and total space in megabytes as well.|https://github.com/apache/cassandra/compare/cassandra-2.2...jbellis:10199#diff-a8a9935b164cd23da473fd45784fd1ddR504]
[For this particular informational kind of warning I would prefer a unit larger than bytes, but this is bike shedding.|https://github.com/apache/cassandra/compare/cassandra-2.2...jbellis:10199#diff-a8a9935b164cd23da473fd45784fd1ddR541] Possibly a float with 2-3 digits of precision after the decimal if I need to be more precise.
> Warn on tiny disks instead of failing startup
> ---------------------------------------------
>
> Key: CASSANDRA-10199
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10199
> Project: Cassandra
> Issue Type: New Feature
> Components: Core
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 2.2.x
>
>
> m3.medium instances only have 4 GB disk space. We allocate 8 GB to commitlog by default.
> We should (1) cap CL to 1/4 of disk space and (2) warn when a tiny disk is seen.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)