cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-4096) mlockall() returned code is ignored w/o assertions
Date Thu, 29 Mar 2012 18:10:24 GMT


Jonathan Ellis updated CASSANDRA-4096:

    Attachment: 4096.txt

The assert is redundant anyway since JNA will check return value and errno for us. Patch attached.
> mlockall() returned code is ignored w/o assertions
> --------------------------------------------------
>                 Key: CASSANDRA-4096
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Peter Schuller
>              Labels: jna
>         Attachments: 4096.txt
> We log that mlockall() was successful only based on the lack of an assertion failure,
so for anyone running w/o {{-ea}} we are lying about mlockall() succeeding.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message