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

Allow posix_fadvise call to be skipped based on a configuration option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None

    Description

      It is sometimes desirable to skip the posix_fadvise() call performed on SSTable files when Cassandra has JNA enabled, without disabling JNA as other functionality is dependent on JNA such as the off-heap row cache. This can be either for performance reasons, or to avoid bugs caused by faulty interactions of the fadvise call with the underlying hardware and it's drivers.

      The enhancement is to be able to disable the fadvise() call using an option in the cassandra.yaml file.

      Attachments

        Activity

          People

            rbranson Rick Branson
            rbranson Rick Branson
            Rick Branson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: