Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4096

mlockall() returned code is ignored w/o assertions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 1.0.9, 1.1.0
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      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.

        Attachments

        1. 4096.txt
          0.9 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              jbellis Jonathan Ellis
              Reporter:
              scode Peter Schuller
              Authors:
              Jonathan Ellis
              Reviewers:
              Peter Schuller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: