You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joshua McKenzie (JIRA)" <ji...@apache.org> on 2014/12/10 14:26:13 UTC

[jira] [Commented] (CASSANDRA-8452) Add missing systems to FBUtilities.isUnix, add FBUtilities.isWindows

    [ https://issues.apache.org/jira/browse/CASSANDRA-8452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241078#comment-14241078 ] 

Joshua McKenzie commented on CASSANDRA-8452:
--------------------------------------------

Check out v2 on CASSANDRA-6993 as well as Benedict's comment about it.  We should probably change the call to "isPosixCompliant" and compute and store the boolean at static init time and just reference that rather than strcmp every time we want to check it.

> Add missing systems to FBUtilities.isUnix, add FBUtilities.isWindows
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-8452
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8452
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>            Priority: Minor
>             Fix For: 2.1.3
>
>         Attachments: CASSANDRA-8452.patch
>
>
> The isUnix method leaves out a few unix systems, which, after the changes in CASSANDRA-8136, causes some unexpected behavior during shutdown. It would also be clearer if FBUtilities had an isWindows method for branching into Windows specific logic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)